From f55a249e91bc49d23752e44a40f5f96d0c112099 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 18 Aug 2023 08:11:47 +0000 Subject: [PATCH] INITITIATION_COST -> INITIATION_COST --- sys/net/wg_cookie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/wg_cookie.c b/sys/net/wg_cookie.c index 47eb3787488..a34a3a37ef9 100644 --- a/sys/net/wg_cookie.c +++ b/sys/net/wg_cookie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wg_cookie.c,v 1.4 2022/03/17 18:51:56 tb Exp $ */ +/* $OpenBSD: wg_cookie.c,v 1.5 2023/08/18 08:11:47 jsg Exp $ */ /* * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. * Copyright (C) 2019-2020 Matt Dunwoodie @@ -385,7 +385,7 @@ ratelimit_allow(struct ratelimit *rl, struct sockaddr *sa) * lapsed since our last_time, adding that, ensuring that we * cap the tokens at TOKEN_MAX. If the endpoint has no tokens * left (that is tokens <= INITIATION_COST) then we block the - * request, otherwise we subtract the INITITIATION_COST and + * request, otherwise we subtract the INITIATION_COST and * return OK. */ diff = r->r_last_time; getnanouptime(&r->r_last_time); -- 2.20.1