mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-08 22:57:52 +00:00
select apropriate address for peer test
This commit is contained in:
parent
51ef7ef61c
commit
43033695f6
@ -1132,7 +1132,7 @@ namespace transport
|
|||||||
{
|
{
|
||||||
// we are Alice
|
// we are Alice
|
||||||
LogPrint (eLogDebug, "SSU: sending peer test");
|
LogPrint (eLogDebug, "SSU: sending peer test");
|
||||||
auto address = i2p::context.GetRouterInfo ().GetSSUAddress (i2p::context.SupportsV4 ());
|
auto address = IsV6 () ? i2p::context.GetRouterInfo ().GetSSUV6Address () : i2p::context.GetRouterInfo ().GetSSUAddress (true);
|
||||||
if (!address)
|
if (!address)
|
||||||
{
|
{
|
||||||
LogPrint (eLogInfo, "SSU is not supported. Can't send peer test");
|
LogPrint (eLogInfo, "SSU is not supported. Can't send peer test");
|
||||||
|
Loading…
Reference in New Issue
Block a user