Changes in uspace/srv/net/ethip/arp.c [5a324d99:02a09ed] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/arp.c
r5a324d99 r02a09ed 40 40 #include <inet/addr.h> 41 41 #include <stdlib.h> 42 #include <net/socket_codes.h> 42 43 #include "arp.h" 43 44 #include "atrans.h" … … 72 73 73 74 addr32_t laddr_v4; 74 ip_ver_t laddr_ver= inet_addr_get(&laddr->addr, &laddr_v4, NULL);75 if (laddr_ ver != ip_v4)75 uint16_t laddr_af = inet_addr_get(&laddr->addr, &laddr_v4, NULL); 76 if (laddr_af != AF_INET) 76 77 return; 77 78 … … 97 98 addr48_t mac_addr) 98 99 { 99 /* Broadcast address */100 if (ip_addr == addr32_broadcast_all_hosts) {101 addr48(addr48_broadcast, mac_addr);102 return EOK;103 }104 105 100 int rc = atrans_lookup(ip_addr, mac_addr); 106 101 if (rc == EOK)
Note:
See TracChangeset
for help on using the changeset viewer.