Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
SSUSession: get either IPv4/6 intro key from remote
Browse files Browse the repository at this point in the history
  • Loading branch information
anonimal committed Jul 30, 2018
1 parent 1b26e58 commit 179ee73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/router/transports/ssu/session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 179ee73

Please sign in to comment.