mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
random intro key
This commit is contained in:
parent
3dfb44de31
commit
c875ff923a
2 changed files with 7 additions and 4 deletions
|
@ -89,7 +89,7 @@ namespace i2p
|
|||
host = i2p::util::net::GetInterfaceAddress(ifname4, false).to_string();
|
||||
|
||||
if (ssu)
|
||||
routerInfo.AddSSUAddress (host.c_str(), port, routerInfo.GetIdentHash ());
|
||||
routerInfo.AddSSUAddress (host.c_str(), port, nullptr);
|
||||
}
|
||||
if (ipv6)
|
||||
{
|
||||
|
@ -103,7 +103,7 @@ namespace i2p
|
|||
host = i2p::util::net::GetInterfaceAddress(ifname6, true).to_string();
|
||||
|
||||
if (ssu)
|
||||
routerInfo.AddSSUAddress (host.c_str(), port, routerInfo.GetIdentHash ());
|
||||
routerInfo.AddSSUAddress (host.c_str(), port, nullptr);
|
||||
}
|
||||
|
||||
routerInfo.SetCaps (i2p::data::RouterInfo::eReachable |
|
||||
|
@ -486,7 +486,7 @@ namespace i2p
|
|||
if (ssu)
|
||||
{
|
||||
std::string host = "::1"; // TODO: read host
|
||||
m_RouterInfo.AddSSUAddress (host.c_str (), port, GetIdentHash ());
|
||||
m_RouterInfo.AddSSUAddress (host.c_str (), port, nullptr);
|
||||
}
|
||||
}
|
||||
// NTCP2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue