Merge pull request #1615 from Diapolo/net_noExtIp_IPv6only

do not use external IPv4 discovery, when -onlynet="IPv6"
This commit is contained in:
Gregory Maxwell 2012-07-25 11:11:25 -07:00
commit f00ffc6c00

View file

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