changeset 842 | 9da05efee3cd |
841:1a62cefa636d | 842:9da05efee3cd |
---|---|
1 ### This patch will not be needed after libnet 1.1.6 |
|
2 |
|
3 --- libnet-1.1.5.orig/src/libnet_checksum.c 2010-11-03 11:35:12.000000000 -0700 |
|
4 +++ libnet-1.1.5/src/libnet_checksum.c 2012-05-27 15:48:47.202890574 -0700 |
|
5 @@ -207,6 +207,7 @@ |
|
6 if (iph_p->ip_v == 6) |
|
7 { |
|
8 ip6h_p = (struct libnet_ipv6_hdr *)iph_p; |
|
9 + is_ipv6 = 1; |
|
10 iph_p = NULL; |
|
11 ip_hl = 40; |
|
12 if((uint8_t*)(ip6h_p+1) > end) |