diff --git a/llarp/link/utp.cpp b/llarp/link/utp.cpp index 8901656d1..4b8c81b9b 100644 --- a/llarp/link/utp.cpp +++ b/llarp/link/utp.cpp @@ -230,12 +230,12 @@ namespace llarp { if(state == eClose) return true; - if(now < lastActive) + if(now <= lastActive) return false; auto dlt = now - lastActive; if(dlt >= sessionTimeout) { - LogInfo("session timeout reached for ", remoteAddr); + LogInfo("session timeout reached for ", remoteAddr, " dlt=", dlt); return true; } return false;