From 179ee73d20b4f7448f63a4f0d6a70df69009d495 Mon Sep 17 00:00:00 2001 From: anonimal Date: Mon, 30 Jul 2018 07:14:19 +0000 Subject: [PATCH] SSUSession: get either IPv4/6 intro key from remote --- src/core/router/transports/ssu/session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/router/transports/ssu/session.cc b/src/core/router/transports/ssu/session.cc index 84605ab8..57b67d98 100644 --- a/src/core/router/transports/ssu/session.cc +++ b/src/core/router/transports/ssu/session.cc @@ -1655,7 +1655,7 @@ const std::uint8_t* SSUSession::GetIntroKey() const { LOG(debug) << "SSUSession: " << __func__ << ": using remote's key"; auto* const address = - m_RemoteRouter->GetAddress(m_RemoteRouter->HasV6(), Transport::SSU); + m_RemoteRouter->GetAnyAddress(m_RemoteRouter->HasV6(), Transport::SSU); assert(address); // TODO(anonimal): SSU should be guaranteed return address->key; }