diff options
| author | Nagi5Yeq <wu@x-nagi.com> | 2021-02-05 16:10:32 +0800 |
|---|---|---|
| committer | Nagi5Yeq <wu@x-nagi.com> | 2021-02-05 16:10:32 +0800 |
| commit | 32ebcdbc8290474b63d78d357847eebea8cb9ad9 (patch) | |
| tree | 26fdd9b44ff48bfa0588cbfc9b2d4ee7cdbfeca7 /src/SocketCore.cc | |
| parent | 31d9d4dbed319a3c1a0a493c1e48ed7d20621762 (diff) | |
add allow-ipv6-only option
Diffstat (limited to 'src/SocketCore.cc')
| -rw-r--r-- | src/SocketCore.cc | 2 |
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; } } |
