Changeset 4c14b88 in mainline for uspace/srv/net/ethip/arp.c


Ignore:
Timestamp:
2013-12-31T07:57:14Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b973dc
Parents:
6297465 (diff), 208b5f5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/ethip/arp.c

    r6297465 r4c14b88  
    4040#include <inet/addr.h>
    4141#include <stdlib.h>
    42 #include <net/socket_codes.h>
    4342#include "arp.h"
    4443#include "atrans.h"
     
    7372       
    7473        addr32_t laddr_v4;
    75         uint16_t laddr_af = inet_addr_get(&laddr->addr, &laddr_v4, NULL);
    76         if (laddr_af != AF_INET)
     74        ip_ver_t laddr_ver = inet_addr_get(&laddr->addr, &laddr_v4, NULL);
     75        if (laddr_ver != ip_v4)
    7776                return;
    7877       
Note: See TracChangeset for help on using the changeset viewer.