mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
support zero-hops tunnels for destinations
This commit is contained in:
parent
14cdb531c8
commit
f6e988d6fd
4 changed files with 47 additions and 18 deletions
|
@ -159,6 +159,11 @@ namespace tunnel
|
|||
return num;
|
||||
}
|
||||
|
||||
bool IsEmpty () const
|
||||
{
|
||||
return !m_FirstHop;
|
||||
}
|
||||
|
||||
virtual bool IsInbound () const { return m_FirstHop->isGateway; }
|
||||
|
||||
virtual uint32_t GetTunnelID () const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue