diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-31 05:32:36 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-31 14:23:13 +0200 |
commit | e3030b64e64cc2e1192e06ffe3faab3ece1f3fc3 (patch) | |
tree | 1c0951216dca1092642f5f8e0edc2ee2cc7cc518 /src/receive.c | |
parent | timers: the completion of a handshake also is on key confirmation (diff) | |
download | wireguard-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.c | 2 |
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); } } |