aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/receive.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-08-04 19:55:47 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-08-04 20:29:48 +0200
commit0bbfc1a8e31c126d0dfe6a64dd3168a0e8ac9ec0 (patch)
tree728e4193c389048ea56920136af035a305efeeb7 /src/receive.c
parentreceive: move lastminute guard into timer event (diff)
downloadwireguard-monolithic-historical-0bbfc1a8e31c126d0dfe6a64dd3168a0e8ac9ec0.tar.xz
wireguard-monolithic-historical-0bbfc1a8e31c126d0dfe6a64dd3168a0e8ac9ec0.zip
timers: rename confusingly named functions and variables
Suggested-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
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 67ad584..5a6d975 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -122,7 +122,7 @@ static void receive_handshake_packet(struct wireguard_device *wg, struct sk_buff
update_latest_addr(peer, skb);
net_dbg_ratelimited("%s: Receiving handshake response from peer %Lu (%pISpfsc)\n", wg->dev->name, peer->internal_id, &peer->endpoint.addr);
if (noise_handshake_begin_session(&peer->handshake, &peer->keypairs, true)) {
- timers_ephemeral_key_created(peer);
+ timers_session_derived(peer);
timers_handshake_complete(peer);
/* Calling this function will either send any existing packets in the queue
* and not send a keepalive, which is the best case, Or, if there's nothing