update published pq param from config

This commit is contained in:
orignal committed 2026-03-12 20:46:06 -04:00
1 parent eb5a808232
commit bc2cdd6c01
4 files changed
+13 -7

No files matched your search

+2 -2
View File
@@ -2032,7 +2032,7 @@ namespace transport
{
i2p::context.SetError (eRouterErrorFullConeNAT); // TODO: Full-Cone NAT detection isn't working.
// i2p::context.PublishNTCP2Address (TCP_PORT, true, true, false, false); // TODO: TCP_PORT to be filled similar to ep.port()
i2p::context.PublishSSU2Address (ep.port(), true, true, false);
i2p::context.PublishSSU2Address (ep.port(), true, true, false, m_Server.GetVersion ());
}
}
else
@@ -2043,7 +2043,7 @@ namespace transport
{
i2p::context.SetErrorV6 (eRouterErrorFullConeNAT);
// i2p::context.PublishNTCP2Address (TCP_PORT, true, false, true, false); // TODO: TCP_PORT to be filled similar to ep.port()
i2p::context.PublishSSU2Address (ep.port(), true, false, true);
i2p::context.PublishSSU2Address (ep.port(), true, false, true, m_Server.GetVersion ());
}
}
}