publish Yggdrasil address when enabled

This commit is contained in:
orignal 2021-03-17 11:26:52 -04:00
parent 820a365474
commit a7b56bbbb7

View File

@ -232,8 +232,7 @@ namespace util
} }
if (ygg) if (ygg)
{ {
if (!ntcp2) i2p::context.PublishNTCP2Address (port, true, false, false, true);
i2p::context.PublishNTCP2Address (port, true, false, false, true);
i2p::context.UpdateNTCP2V6Address (yggaddr); i2p::context.UpdateNTCP2V6Address (yggaddr);
if (!ipv4 && !ipv6) if (!ipv4 && !ipv6)
i2p::context.SetStatus (eRouterStatusMesh); i2p::context.SetStatus (eRouterStatusMesh);