delete session with introducer

This commit is contained in:
orignal 2014-04-09 13:55:31 -04:00
parent 73066eb6c6
commit 5099b997ad

View file

@ -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));