mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-30 08:24:20 +00:00
rollback of discover
This commit is contained in:
parent
d7349cba71
commit
14c139bd0c
2
i2pd
2
i2pd
@ -1 +1 @@
|
||||
Subproject commit 8e558f082666dc540475c849b495a9a6ce2f23c8
|
||||
Subproject commit 3d1b6e29c6cf3f1c56c279819e8100b1c775b775
|
@ -1858,7 +1858,7 @@ bool BindListenNativeI2P(SOCKET& hSocket)
|
||||
if (!SetSocketOptions(hSocket) || hSocket == INVALID_SOCKET)
|
||||
return false;
|
||||
CService addrBind(I2PSession::Instance().getMyDestination().pub, 0);
|
||||
if (addrBind.IsRoutable())
|
||||
if (addrBind.IsRoutable() && fDiscover)
|
||||
AddLocal(addrBind, LOCAL_BIND);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user