mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-21 23:54:14 +00:00
don't insert garlic tag for short tunnel build reply if the same router
This commit is contained in:
parent
f8623b6121
commit
7a55d1fc38
@ -106,7 +106,8 @@ namespace tunnel
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Config->IsShort () && m_Config->GetLastHop ())
|
||||
if (m_Config->IsShort () && m_Config->GetLastHop () &&
|
||||
m_Config->GetLastHop ()->ident->GetIdentHash () != m_Config->GetLastHop ()->nextIdent)
|
||||
{
|
||||
// add garlic key/tag for reply
|
||||
uint8_t key[32];
|
||||
|
Loading…
x
Reference in New Issue
Block a user