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

This commit is contained in:
Philip Kaufmann 2012-07-20 12:20:37 +02:00
parent 134cb634b1
commit a76552ce47

View File

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