From b0d322dfbd2b6b15444c3489a7cf25021201dcb6 Mon Sep 17 00:00:00 2001 From: Ludvig Strigeus Date: Sat, 8 Sep 2018 23:31:30 +0200 Subject: [PATCH] Enable persistent keepalive timer on sent handshakes --- wireguard_proto.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wireguard_proto.cpp b/wireguard_proto.cpp index 9d6b0ab..1d9e587 100644 --- a/wireguard_proto.cpp +++ b/wireguard_proto.cpp @@ -984,6 +984,7 @@ void WgPeer::OnHandshakeInitSent() { assert(IsPeerLocked()); WgClearTimer(TIMER_SEND_KEEPALIVE); WgSetTimer(TIMER_RETRANSMIT_HANDSHAKE); + WgSetTimer(TIMER_PERSISTENT_KEEPALIVE); } void WgPeer::OnHandshakeAuthComplete() {