mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
delete session with introducer
This commit is contained in:
parent
73066eb6c6
commit
5099b997ad
1 changed files with 1 additions and 0 deletions
1
SSU.cpp
1
SSU.cpp
|
@ -425,6 +425,7 @@ namespace ssu
|
||||||
payload += 2; // our port
|
payload += 2; // our port
|
||||||
LogPrint ("Our external address is ", ourIP.to_string (), ":", ourPort);
|
LogPrint ("Our external address is ", ourIP.to_string (), ":", ourPort);
|
||||||
i2p::context.UpdateAddress (ourIP.to_string ().c_str ());
|
i2p::context.UpdateAddress (ourIP.to_string ().c_str ());
|
||||||
|
m_Server.DeleteSession (this); // we don't need this session anymore
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint ("Unexpected payload type ", (int)(header->flag >> 4));
|
LogPrint ("Unexpected payload type ", (int)(header->flag >> 4));
|
||||||
|
|
Loading…
Add table
Reference in a new issue