diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-08 20:30:57 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-08 20:30:57 +0200 |
commit | 8a4a28ebedde10ff6345df6f954299d2247aa19f (patch) | |
tree | eef56fabe1162faaf1d7a9aebafe43b2254417a6 /src/receive.c | |
parent | fcd889b205f41901b822f768f461e3974f48b5f2 (diff) |
timers: rename *authorized* functions to *authenticated*
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/receive.c')
-rw-r--r-- | src/receive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/receive.c b/src/receive.c index db19527..2323b97 100644 --- a/src/receive.c +++ b/src/receive.c @@ -151,7 +151,7 @@ static void receive_handshake_packet(struct wireguard_device *wg, void *data, si BUG_ON(!peer); rx_stats(peer, len); - timers_any_authorized_packet_received(peer); + timers_any_authenticated_packet_received(peer); update_latest_addr(peer, skb); peer_put(peer); } @@ -258,7 +258,7 @@ static void receive_data_packet(struct sk_buff *skb, struct wireguard_peer *peer packet_processed: dev_kfree_skb(skb); continue_processing: - timers_any_authorized_packet_received(peer); + timers_any_authenticated_packet_received(peer); socket_set_peer_addr(peer, addr); peer_put(peer); } |