mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:44:15 +00:00
delete address if corresponding transport is disabled
This commit is contained in:
parent
e91d0bbec8
commit
ad5540c9f3
@ -803,7 +803,7 @@ namespace i2p
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
m_RouterInfo.RemoveNTCP2Address (false);
|
m_RouterInfo.RemoveNTCP2Address (true);
|
||||||
// SSU2
|
// SSU2
|
||||||
bool ssu2; i2p::config::GetOption("ssu2.enabled", ssu2);
|
bool ssu2; i2p::config::GetOption("ssu2.enabled", ssu2);
|
||||||
if (ssu2)
|
if (ssu2)
|
||||||
@ -822,7 +822,7 @@ namespace i2p
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
m_RouterInfo.RemoveSSU2Address (false);
|
m_RouterInfo.RemoveSSU2Address (true);
|
||||||
if (ntcp2 || ssu2)
|
if (ntcp2 || ssu2)
|
||||||
m_RouterInfo.EnableV4 ();
|
m_RouterInfo.EnableV4 ();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user