mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-10 19:38:28 +01:00
create ipv4 and ipv6 NTCP2 addresses separately
This commit is contained in:
parent
d65bc068de
commit
94659ba890
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ namespace i2p
|
||||||
if (ntcp2)
|
if (ntcp2)
|
||||||
{
|
{
|
||||||
if (ntcp2Published)
|
if (ntcp2Published)
|
||||||
m_RouterInfo.AddNTCP2Address (m_NTCP2Keys->staticPublicKey, m_NTCP2Keys->iv, boost::asio::ip::address_v4::from_string (host), port);
|
routerInfo.AddNTCP2Address (m_NTCP2Keys->staticPublicKey, m_NTCP2Keys->iv, boost::asio::ip::address_v4::from_string (host), port);
|
||||||
else // add non-published NTCP2 address
|
else // add non-published NTCP2 address
|
||||||
routerInfo.AddNTCP2Address (m_NTCP2Keys->staticPublicKey, m_NTCP2Keys->iv);
|
routerInfo.AddNTCP2Address (m_NTCP2Keys->staticPublicKey, m_NTCP2Keys->iv);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue