mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
removed trivial check
This commit is contained in:
parent
51e3d5f7bc
commit
50a77fedca
@ -318,12 +318,7 @@ namespace i2p
|
||||
{
|
||||
if (maxNumTransitTunnels > 0 && g_MaxNumTransitTunnels != maxNumTransitTunnels)
|
||||
{
|
||||
if (maxNumTransitTunnels <= 65535) {
|
||||
LogPrint (eLogDebug, "I2NP: Max number of transit tunnels set to ", maxNumTransitTunnels);
|
||||
} else {
|
||||
LogPrint (eLogWarning, "I2NP: Requested number of transit tunnels exceeds 65535, limited");
|
||||
maxNumTransitTunnels = 65535;
|
||||
}
|
||||
g_MaxNumTransitTunnels = maxNumTransitTunnels;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user