summaryrefslogtreecommitdiff
path: root/src/SocketCore.cc
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2021-02-05 16:10:32 +0800
committerNagi5Yeq <wu@x-nagi.com>2021-02-05 16:10:32 +0800
commit32ebcdbc8290474b63d78d357847eebea8cb9ad9 (patch)
tree26fdd9b44ff48bfa0588cbfc9b2d4ee7cdbfeca7 /src/SocketCore.cc
parent31d9d4dbed319a3c1a0a493c1e48ed7d20621762 (diff)
add allow-ipv6-only option
Diffstat (limited to 'src/SocketCore.cc')
-rw-r--r--src/SocketCore.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketCore.cc b/src/SocketCore.cc
index 8907eb4f..b82ba0b3 100644
--- a/src/SocketCore.cc
+++ b/src/SocketCore.cc
@@ -1699,7 +1699,7 @@ void checkAddrconfig()
found = true;
if (!hasGlobalIpv6Addr &&
inetNtop(AF_INET6, &ad.in6.sin6_addr, globalIpv6Addr,
- sizeof(globalIpv6Addr) == 0)) {
+ sizeof(globalIpv6Addr)) == 0) {
hasGlobalIpv6Addr = true;
}
}