This commit is contained in:
Jeff Becker committed 2016-09-03 15:54:22 -04:00
1 parent 783c0c7c7b
commit 7ea8509dfe
1 file changed
+1 -1
+1 -1
View File
@@ -343,7 +343,7 @@ namespace datagram
{
if(routingPath->remoteLease)
{
if(routingPath->remoteLease->ExpiresSoon())
if(routingPath->remoteLease->ExpiresWithin(DATAGRAM_SESSION_LEASE_HANDOVER_WINDOW, DATAGRAM_SESSION_LEASE_HANDOVER_FUDGE))
lease = GetNextLease();
else
lease = routingPath->remoteLease;