mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
find SSU2 address by address type
This commit is contained in:
parent
990906c57f
commit
30b83414ef
3 changed files with 5 additions and 5 deletions
|
@ -384,7 +384,7 @@ namespace transport
|
|||
return false;
|
||||
}
|
||||
SetRemoteIdentity (ri->GetRouterIdentity ());
|
||||
m_Address = ri->GetSSU2AddressWithStaticKey (S);
|
||||
m_Address = ri->GetSSU2AddressWithStaticKey (S, m_RemoteEndpoint.address ().is_v6 ());
|
||||
if (!m_Address)
|
||||
{
|
||||
LogPrint (eLogError, "SSU2: No SSU2 address with static key found in SessionConfirmed");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue