set -1 as default session id

This commit is contained in:
orignal 2016-06-10 22:13:20 -04:00
parent f4d8c3304a
commit bf8db7725f

View File

@ -117,7 +117,7 @@ namespace client
I2CPSession::I2CPSession (I2CPServer& owner, std::shared_ptr<boost::asio::ip::tcp::socket> socket):
m_Owner (owner), m_Socket (socket),
m_NextMessage (nullptr), m_NextMessageLen (0), m_NextMessageOffset (0),
m_SessionID (0), m_MessageID (0), m_IsSendAccepted (true)
m_SessionID (0xFFFF), m_MessageID (0), m_IsSendAccepted (true)
{
}