Changes in uspace/srv/net/inetsrv/pdu.c [5a324d99:44c9ef4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/pdu.c
r5a324d99 r44c9ef4 44 44 #include <mem.h> 45 45 #include <stdlib.h> 46 #include <net/socket_codes.h> 46 47 #include "inetsrv.h" 47 48 #include "inet_std.h" … … 532 533 int ndp_pdu_decode(inet_dgram_t *dgram, ndp_packet_t *ndp) 533 534 { 534 ip_ver_t src_ver= inet_addr_get(&dgram->src, NULL,535 uint16_t src_af = inet_addr_get(&dgram->src, NULL, 535 536 &ndp->sender_proto_addr); 536 if (src_ ver != ip_v6)537 if (src_af != AF_INET6) 537 538 return EINVAL; 538 539
Note:
See TracChangeset
for help on using the changeset viewer.