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:
parent
571c630d93
commit
8cdd3a0abb
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user