mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 15:27:57 +00:00
do not use external IPv4 discovery, when -onlynet="IPv6"
This commit is contained in:
parent
134cb634b1
commit
a76552ce47
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user