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() {