1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00
This commit is contained in:
orignal 2016-12-01 15:03:54 -05:00
parent 5c20751937
commit b8a01d2ff1

View File

@ -256,10 +256,7 @@ namespace data
}
if (isValidAddress)
{
if (supportedTransports & eNTCPV6) // ipv6 NTCP ?
addresses->push_front(std::make_shared<Address>(address)); // ipv6 has priority over ipv4
else
addresses->push_back(std::make_shared<Address>(address));
addresses->push_back(std::make_shared<Address>(address));
m_SupportedTransports |= supportedTransports;
}
}