aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/receive.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 05:32:36 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-31 14:23:13 +0200
commite3030b64e64cc2e1192e06ffe3faab3ece1f3fc3 (patch)
tree1c0951216dca1092642f5f8e0edc2ee2cc7cc518 /src/receive.c
parenttimers: the completion of a handshake also is on key confirmation (diff)
downloadwireguard-monolithic-historical-e3030b64e64cc2e1192e06ffe3faab3ece1f3fc3.tar.xz
wireguard-monolithic-historical-e3030b64e64cc2e1192e06ffe3faab3ece1f3fc3.zip
timers: reset retry-attempt counter when not retrying
Diffstat (limited to 'src/receive.c')
-rw-r--r--src/receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c
index 6051c2c..b582d00 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -197,7 +197,7 @@ static void keep_key_fresh(struct wireguard_peer *peer)
if (send) {
peer->sent_lastminute_handshake = true;
- packet_queue_handshake_initiation(peer);
+ packet_queue_handshake_initiation(peer, false);
}
}