mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 19:41:41 +00:00
fixed zero-hops tunnels
This commit is contained in:
1 parent
f6e988d6fd
commit
c50105493a
3 files changed
+24
-10
No files matched your search
+2
-2
@@ -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