You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
445 B
12 lines
445 B
5 years ago
|
diff -up dhcp-4.2.5/common/packet.c.ffff dhcp-4.2.5/common/packet.c
|
||
|
--- dhcp-4.2.5/common/packet.c.ffff 2013-10-07 17:21:18.000000000 +0200
|
||
|
+++ dhcp-4.2.5/common/packet.c 2013-10-07 17:47:34.689600497 +0200
|
||
|
@@ -326,6 +326,7 @@ decode_udp_ip_header(struct interface_in
|
||
|
len = ulen - sizeof(udp);
|
||
|
|
||
|
usum = udp.uh_sum;
|
||
|
+ if (usum == 0xffff) usum = 0;
|
||
|
udp.uh_sum = 0;
|
||
|
|
||
|
/* XXX: We have to pass &udp, because we have to zero the checksum
|