diff options
Diffstat (limited to 'common-session.c')
-rw-r--r-- | common-session.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common-session.c b/common-session.c index 998bf0e..6bcb7fa 100644 --- a/common-session.c +++ b/common-session.c @@ -397,8 +397,7 @@ void send_msg_ignore() { static void checktimeouts() { time_t now; - - now = time(NULL); + now = monotonic_now(); if (ses.connect_time != 0 && now - ses.connect_time >= AUTH_TIMEOUT) { dropbear_close("Timeout before auth"); |