fbb2708 virNetSocketCheckProtocols: handle EAI_NONAME as IPv6 unavailable

Authored and Committed by Guido Günther 8 years ago
    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.
    
        
file modified
+2 -1