Re: libSystem: inet_pton() or inet_ntop() converts wrong ipv6 addressed like: ::12
5 Jan
2016
5 Jan
'16
4:19 p.m.
/* check for mapped or compat addresses */ i = IN6_IS_ADDR_V4MAPPED(addr); j = IN6_IS_ADDR_V4COMPAT(addr); if ((i != 0) || (j != 0)) { a4.s_addr = addr->__u6_addr.__u6_addr32[3]; sprintf(tmp, "::%s%s", (i != 0) ? "ffff:" : "", inet_ntoa(a4)); _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com
3593
Age (days ago)
3593
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stephen J. Butler