]> xenbits.xensource.com Git - libvirt.git/commit
virNetSocketCheckProtocols: handle EAI_NONAME as IPv6 unavailable
authorGuido Günther <agx@sigxcpu.org>
Tue, 11 Aug 2015 09:49:18 +0000 (11:49 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 11 Aug 2015 20:08:50 +0000 (22:08 +0200)
commitfbb27088eec1b54fcd5a0950b11c31d27a2598d4
tree5fea9c417a525da673ca1c7cc7da2eb2b382a94f
parentbfaaa2b681018f3705bae17c001700a03f67d7c4
virNetSocketCheckProtocols: handle EAI_NONAME as IPv6 unavailable

When running the test suite using "unshare -n" we might have IPv6 but no
configured addresses. Due to AI_ADDRCONFIG getaddrinfo then fails with
EAI_NONAME which we should then treat as IPv6 unavailable.
src/rpc/virnetsocket.c