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