mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
Merge pull request #1615 from Diapolo/net_noExtIp_IPv6only
do not use external IPv4 discovery, when -onlynet="IPv6"
This commit is contained in:
commit
f00ffc6c00
@ -1878,7 +1878,9 @@ void static Discover()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CreateThread(ThreadGetMyExternalIP, NULL);
|
// Don't use external IPv4 discovery, when -onlynet="IPv6"
|
||||||
|
if (!IsLimited(NET_IPV4))
|
||||||
|
CreateThread(ThreadGetMyExternalIP, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void StartNode(void* parg)
|
void StartNode(void* parg)
|
||||||
|
Loading…
Reference in New Issue
Block a user