newPcapSockAddr returns invalid IPv6 address
A java PCAP and DPI library
Brought to you by:
voytechs
сhange from:
env->SetByteArrayRegion(jarray, 0, 16, (jbyte *)(a->sa_data + 2));
to:
env->SetByteArrayRegion(jarray, 0, 16, (jbyte *)&((struct sockaddr_in6 *)a)->sin6_addr);
for details see:
http://msdn.microsoft.com/en-us/library/ms740496\(VS.85).aspx
http://linux.die.net/man/7/ipv6
Thanks for the detailed info on this. This will be released with the next release 1.3.0. It was not fixed in 1.3.b4, but will make it into final version for 1.3 code base.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).