mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
Symmetric NAT error
This commit is contained in:
parent
57c969b0ed
commit
6d88c3ab05
4 changed files with 8 additions and 1 deletions
|
@ -684,6 +684,8 @@ namespace transport
|
|||
buf += 2; // our port
|
||||
LogPrint (eLogInfo, "SSU: Our external address is ", ourIP.to_string (), ":", ourPort);
|
||||
i2p::context.UpdateAddress (ourIP);
|
||||
if (ourPort != m_Server.GetPort ())
|
||||
i2p::context.SetError (eRouterErrorSymmetricNAT);
|
||||
uint32_t nonce = bufbe32toh (buf);
|
||||
buf += 4; // nonce
|
||||
auto it = m_RelayRequests.find (nonce);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue