mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 19:41:41 +00:00
update published pq param from config
This commit is contained in:
1 parent
eb5a808232
commit
bc2cdd6c01
4 files changed
+13
-7
No files matched your search
@@ -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 ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user