Changeset 9ae6fc7 in mainline for uspace/srv/net/inetsrv
- Timestamp:
- 2013-07-16T18:00:42Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 159bad57
- Parents:
- 30c5d13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.c
r30c5d13 r9ae6fc7 62 62 #define NAME "inetsrv" 63 63 64 static inet_naddr_t solicited_node_mask = { 65 .family = AF_INET6, 66 .addr6 = {0xff, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01, 0xff, 0, 0, 0}, 67 .prefix = 104 68 }; 69 70 static inet_addr_t multicast_all_nodes = { 71 .family = AF_INET, 72 .addr6 = {0xff, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01} 73 }; 74 64 75 static void inet_client_conn(ipc_callid_t iid, ipc_call_t *icall, void *arg); 65 76 … … 514 525 515 526 addr = inet_addrobj_find(&packet->dest, iaf_addr); 516 if (addr != NULL) { 527 if ((addr != NULL) || 528 (inet_naddr_compare_mask(&solicited_node_mask, &packet->dest)) || 529 (inet_addr_compare(&multicast_all_nodes, &packet->dest))) { 517 530 /* Destined for one of the local addresses */ 518 531
Note:
See TracChangeset
for help on using the changeset viewer.