mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
make always reachable when in meshnet mode
This commit is contained in:
parent
7868e1527e
commit
866cf940da
2 changed files with 6 additions and 1 deletions
|
@ -197,6 +197,11 @@ namespace i2p
|
|||
i2p::context.SetFamily (family);
|
||||
if (family.length () > 0)
|
||||
LogPrint(eLogInfo, "Daemon: family set to ", family);
|
||||
|
||||
#ifdef MESHNET
|
||||
// always reachable in meshnet mode, no NAT
|
||||
i2p::context.SetStatus(eRouterStatusOK);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue