Re: [Qemu-devel] [PATCH v2 4/5] io: preserve ipv4/ipv6 flags when resolving InetSocketAddress

2017-05-22 Thread Eric Blake
On 05/19/2017 01:03 PM, Daniel P. Berrange wrote: > The original InetSocketAddress struct may have has_ipv4 and > has_ipv6 fields set, which will control both the ai_family > used during DNS resolution, and later use of the V6ONLY > flag. > > Currently the standalone DNS resolver code drops the >

Re: [Qemu-devel] [PATCH v2 4/5] io: preserve ipv4/ipv6 flags when resolving InetSocketAddress

2017-05-19 Thread Philippe Mathieu-Daudé
On 05/19/2017 03:03 PM, Daniel P. Berrange wrote: The original InetSocketAddress struct may have has_ipv4 and has_ipv6 fields set, which will control both the ai_family used during DNS resolution, and later use of the V6ONLY flag. Currently the standalone DNS resolver code drops the has_ipv4 & h

[Qemu-devel] [PATCH v2 4/5] io: preserve ipv4/ipv6 flags when resolving InetSocketAddress

2017-05-19 Thread Daniel P. Berrange
The original InetSocketAddress struct may have has_ipv4 and has_ipv6 fields set, which will control both the ai_family used during DNS resolution, and later use of the V6ONLY flag. Currently the standalone DNS resolver code drops the has_ipv4 & has_ipv6 flags after resolving, which means the later