Changeset 0c2d9bb in mainline for uspace/srv/net/inetsrv/pdu.c
- Timestamp:
- 2013-12-25T22:54:29Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b51cf2c
- Parents:
- f7a33de (diff), ac36aed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/pdu.c
rf7a33de r0c2d9bb 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.