Enable persistent keepalive timer on sent handshakes

This commit is contained in:
Ludvig Strigeus 2018-09-08 23:31:30 +02:00
parent 99b6e2622c
commit b0d322dfbd

View file

@ -984,6 +984,7 @@ void WgPeer::OnHandshakeInitSent() {
assert(IsPeerLocked());
WgClearTimer(TIMER_SEND_KEEPALIVE);
WgSetTimer(TIMER_RETRANSMIT_HANDSHAKE);
WgSetTimer(TIMER_PERSISTENT_KEEPALIVE);
}
void WgPeer::OnHandshakeAuthComplete() {