Menu

#78 newPcapSockAddr returns invalid IPv6 address

Version 1.3
closed-fixed
API Issue (77)
5
2011-01-18
2010-11-19
Anonymous
No

с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

Discussion

  • Sly Technologies

    • labels: --> API Issue
    • assigned_to: nobody --> voytechs
    • status: open --> pending-fixed
     
  • Sly Technologies

    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.

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    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).

     

Log in to post a comment.

MongoDB Logo MongoDB