Re: [libvirt] [PATCH 1/3] rpc: allow selection of TCP address family

2015-06-08 Thread Martin Kletzander
On Fri, Jun 05, 2015 at 09:47:43AM +0100, Daniel P. Berrange wrote: By default, getaddrinfo() will return addresses for both IPv4 and IPv6 if both protocols are enabled, and so the RPC code will listen/connect to both protocols too. There may be cases where it is desirable to restrict this to

[libvirt] [PATCH 1/3] rpc: allow selection of TCP address family

2015-06-05 Thread Daniel P. Berrange
By default, getaddrinfo() will return addresses for both IPv4 and IPv6 if both protocols are enabled, and so the RPC code will listen/connect to both protocols too. There may be cases where it is desirable to restrict this to just one of the two protocols, so add an 'int family' parameter to all