mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixed zero-hops tunnels
This commit is contained in:
@@ -31,7 +31,7 @@ namespace client
|
||||
{
|
||||
|
||||
int len = i2p::util::lexical_cast<int>(it->second, inboundTunnelLen);
|
||||
if (len > 0)
|
||||
if (len >= 0)
|
||||
{
|
||||
inboundTunnelLen = len;
|
||||
}
|
||||
@@ -42,7 +42,7 @@ namespace client
|
||||
{
|
||||
|
||||
int len = i2p::util::lexical_cast<int>(it->second, outboundTunnelLen);
|
||||
if (len > 0)
|
||||
if (len >= 0)
|
||||
{
|
||||
outboundTunnelLen = len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user