mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-22 09:37:16 +00:00
set tunnel type to standard if unknown tunnel type
This commit is contained in:
1 parent
bf90f16910
commit
18b3fb5a46
1 file changed
+4
-5
@@ -1011,7 +1011,10 @@ namespace client
|
||||
SendReplyOK ("tunnel type set to HTTP proxy");
|
||||
}
|
||||
else
|
||||
{
|
||||
m_TunnelType = TunnelType::STANDARD;
|
||||
SendReplyError ("no tunnel type has been set");
|
||||
}
|
||||
}
|
||||
|
||||
BOBCommandChannel::BOBCommandChannel (const std::string& address, uint16_t port):
|
||||
@@ -1128,11 +1131,7 @@ namespace client
|
||||
|
||||
void BOBCommandChannel::RemoveProxy(const std::string& name)
|
||||
{
|
||||
auto it = m_proxy.find (name);
|
||||
if (it != m_proxy.end ())
|
||||
{
|
||||
m_proxy.erase (it);
|
||||
}
|
||||
m_proxy.erase (name);
|
||||
}
|
||||
|
||||
void BOBCommandChannel::Accept ()
|
||||
|
||||
Reference in new issue
Block a user