1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

don't insert garlic tag for short tunnel build reply if the same router

This commit is contained in:
orignal 2021-07-28 21:14:03 -04:00
parent f8623b6121
commit 7a55d1fc38

View File

@ -106,7 +106,8 @@ namespace tunnel
} }
else 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 // add garlic key/tag for reply
uint8_t key[32]; uint8_t key[32];