1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-31 09:04:14 +00:00

update routing path when we get a new lease set

This commit is contained in:
Jeff Becker 2016-09-03 14:42:27 -04:00
parent 571c630d93
commit 8cdd3a0abb
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -417,6 +417,8 @@ namespace datagram
// clear invalid IBGW as we have a new lease set // clear invalid IBGW as we have a new lease set
m_InvalidIBGW.clear(); m_InvalidIBGW.clear();
m_RemoteLeaseSet = remoteIdent; m_RemoteLeaseSet = remoteIdent;
// update routing path
UpdateRoutingPath(GetNextRoutingPath());
// send the message that was queued if it was provided // send the message that was queued if it was provided
if(msg) if(msg)
HandleSend(msg); HandleSend(msg);