Changeset 1b59023 in mainline for uspace/srv/net/il/ip/ip.c
- Timestamp:
- 2010-12-16T17:13:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f87c900
- Parents:
- 7837101
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/ip/ip.c
r7837101 r1b59023 442 442 if (route) { 443 443 address.value = (char *) &route->address.s_addr; 444 address.length = CONVERT_SIZE(in_addr_t, char, 1);444 address.length = sizeof(in_addr_t); 445 445 446 446 rc = arp_device_req(ip_netif->arp->phone, … … 1005 1005 destination.value = route->gateway.s_addr ? 1006 1006 (char *) &route->gateway.s_addr : (char *) &dest.s_addr; 1007 destination.length = CONVERT_SIZE(dest.s_addr, char, 1);1007 destination.length = sizeof(dest.s_addr); 1008 1008 1009 1009 rc = arp_translate_req(netif->arp->phone, netif->device_id,
Note:
See TracChangeset
for help on using the changeset viewer.