diff options
Diffstat (limited to 'src/timers.c')
-rw-r--r-- | src/timers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timers.c b/src/timers.c index d16d7d1..c37b294 100644 --- a/src/timers.c +++ b/src/timers.c @@ -123,7 +123,7 @@ void timers_handshake_initiated(struct wireguard_peer *peer) if (likely(peer->timer_send_keepalive.data)) del_timer(&peer->timer_send_keepalive); if (likely(peer->timer_retransmit_handshake.data)) - mod_timer(&peer->timer_retransmit_handshake, jiffies + REKEY_TIMEOUT); + mod_timer(&peer->timer_retransmit_handshake, slack_time(jiffies + REKEY_TIMEOUT + HZ / 4)); } /* Should be called after a handshake response message is received and processed. */ |