Enable persistent keepalive timer on sent handshakes
This commit is contained in:
parent
99b6e2622c
commit
b0d322dfbd
|
@ -984,6 +984,7 @@ void WgPeer::OnHandshakeInitSent() {
|
||||||
assert(IsPeerLocked());
|
assert(IsPeerLocked());
|
||||||
WgClearTimer(TIMER_SEND_KEEPALIVE);
|
WgClearTimer(TIMER_SEND_KEEPALIVE);
|
||||||
WgSetTimer(TIMER_RETRANSMIT_HANDSHAKE);
|
WgSetTimer(TIMER_RETRANSMIT_HANDSHAKE);
|
||||||
|
WgSetTimer(TIMER_PERSISTENT_KEEPALIVE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WgPeer::OnHandshakeAuthComplete() {
|
void WgPeer::OnHandshakeAuthComplete() {
|
||||||
|
|
Loading…
Reference in a new issue