summaryrefslogtreecommitdiffstatshomepage
path: root/src/timers.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-05-29 21:57:37 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-05-30 18:07:28 +0200
commita98afbd958c3e37c6d5af4e04c094977a5e31306 (patch)
tree54a102bacbac2aea5c0e5c39c7a7d55a7987f350 /src/timers.c
parentstyle: spaces after for loops (diff)
downloadwireguard-linux-compat-a98afbd958c3e37c6d5af4e04c094977a5e31306.tar.xz
wireguard-linux-compat-a98afbd958c3e37c6d5af4e04c094977a5e31306.zip
timers: fix typo in comment
Suggested-by: Peter Wu <peter@lekensteyn.nl> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/timers.c')
-rw-r--r--src/timers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timers.c b/src/timers.c
index fda7b93..9d80bf9 100644
--- a/src/timers.c
+++ b/src/timers.c
@@ -145,7 +145,7 @@ void timers_ephemeral_key_created(struct wireguard_peer *peer)
do_gettimeofday(&peer->walltime_last_handshake);
}
-/* Should be called before an packet with authentication -- data, keepalive, either handshake -- is sent, or after one is received. */
+/* Should be called before a packet with authentication -- data, keepalive, either handshake -- is sent, or after one is received. */
void timers_any_authenticated_packet_traversal(struct wireguard_peer *peer)
{
if (peer->persistent_keepalive_interval && likely(peer->timers_enabled))