Browse Source

do not use external IPv4 discovery, when -onlynet="IPv6"

0.8
Philip Kaufmann 13 years ago
parent
commit
a76552ce47
  1. 2
      src/net.cpp

2
src/net.cpp

@ -1878,6 +1878,8 @@ void static Discover() @@ -1878,6 +1878,8 @@ void static Discover()
}
#endif
// Don't use external IPv4 discovery, when -onlynet="IPv6"
if (!IsLimited(NET_IPV4))
CreateThread(ThreadGetMyExternalIP, NULL);
}

Loading…
Cancel
Save