There was a typo in the IPv6 path of virSocketCheckNetmask which
caused it to never execute.
* src/util/network.c: s/AF_INET/AF_INET6/ in virSocketCheckNetmask
---
src/util/network.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/util/network.c b/src/util/network.c
index 4cb6bfe..de22ded 100644
--- a/src/util/network.c
+++ b/src/util/network.c
@@ -268,7 +268,7 @@ int virSocketCheckNetmask(virSocketAddrPtr addr1, virSocketAddrPtr
addr2,
return(0);
}
- } else if (addr1->data.stor.ss_family == AF_INET) {
+ } else if (addr1->data.stor.ss_family == AF_INET6) {
virIPv6Addr t1, t2, tm;
if ((getIPv6Addr(addr1, &t1) < 0) ||
--
1.7.2.3