summaryrefslogtreecommitdiffstatshomepage
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
commit1d7923644f3ba5919240492e187d211e2791042f (patch)
treeee70a001273b8035d2e67a08b1f658c44134ae32
parentrust test: add icmp ping (diff)
downloadwireguard-monolithic-historical-1d7923644f3ba5919240492e187d211e2791042f.tar.xz
wireguard-monolithic-historical-1d7923644f3ba5919240492e187d211e2791042f.zip
timers: fix typo in comment
Suggested-by: Peter Wu <peter@lekensteyn.nl>
-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))