removed trivial check

This commit is contained in:
orignal 2020-04-26 19:37:00 -04:00
parent 51e3d5f7bc
commit 50a77fedca

View File

@ -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;
}
}