diff options
Diffstat (limited to 'networking/udhcp/d6_dhcpc.c')
-rw-r--r-- | networking/udhcp/d6_dhcpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index fc2d672b7..ac8af91d3 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c | |||
@@ -947,7 +947,7 @@ static NOINLINE int d6_recv_raw_packet(struct in6_addr *peer_ipv6, struct d6_pac | |||
947 | // packet.ip.tot_len = packet.udp.len; /* yes, this is needed */ | 947 | // packet.ip.tot_len = packet.udp.len; /* yes, this is needed */ |
948 | // check = packet.udp.check; | 948 | // check = packet.udp.check; |
949 | // packet.udp.check = 0; | 949 | // packet.udp.check = 0; |
950 | // if (check && check != inet_cksum((uint16_t *)&packet, bytes)) { | 950 | // if (check && check != inet_cksum(&packet, bytes)) { |
951 | // log1("packet with bad UDP checksum received, ignoring"); | 951 | // log1("packet with bad UDP checksum received, ignoring"); |
952 | // return -2; | 952 | // return -2; |
953 | // } | 953 | // } |