Closed GoogleCodeExporter closed 9 years ago
I've rolled out your fix for netmask, can you provide more details on winpcap
IPv6 error?
Original comment by gconnell@google.com
on 28 Jun 2014 at 3:47
WinPcap returns all zero netmask and broadcast for IPv6 address for
_Ctype_struct_pcap_addr(*1), and sockaddr_to_IP() call for IPv6 netmask returns
error.
The findalladdresses loop continues without appending IPv6 because of netmask
error.
*) The following code PacketAddIP6Addresses in winpcap/packetNtx/Dll/AdInfo.c
in WpcapSrc_4_1_3.zip
memcpy(&pItem->Addr.IPAddress, Addr, AddrLen);
memset(&pItem->Addr.SubnetMask, 0, sizeof(struct sockaddr_storage));
memset(&pItem->Addr.Broadcast, 0, sizeof(struct sockaddr_storage));
Original comment by Hiroaki.Kawai@gmail.com
on 28 Jun 2014 at 11:24
https://code.google.com/p/gopacket/source/detail?r=679b12ca0aa44896666432e4123dc
50342f9dc21
Original comment by gconnell@google.com
on 1 Jul 2014 at 4:40
Original issue reported on code.google.com by
Hiroaki.Kawai@gmail.com
on 28 Jun 2014 at 1:50