On Wed, Aug 21, 2019 at 07:13:14PM +0300, Roman Bolshakov wrote:
> getnameinfo on macOS formats certain IPv6 addresses as IPv4-translated
> addresses. The following pattern has been observed:
> ::ffff is formated as ::0.0.255.255
> ::fffe is formated as ::0.0.255.254
> ::ffff:0 is formated as ::255.255.0.0
> ::fffe:0 is formated as ::255.254.0.0
> ::ffff:0:0 is formated as ::ffff:0.0.0.0
> ::fffe:0:0 is formated as ::fffe:0:0
> ::ffff:0:0:0 is formated as ::ffff:0:0:0
>
> The getnameinfo behavior causes a failure for:
> DO_TEST_PARSE_AND_FORMAT("::ffff", AF_UNSPEC, true);
>
> Use non-ambigious IPv6 for parse/format testing.
>
> Signed-off-by: Roman Bolshakov <[email protected]>
> ---
> tests/sockettest.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Daniel P. Berrangé <[email protected]>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list