summaryrefslogtreecommitdiff
path: root/usr.sbin/npppd/pppoe
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2021-03-29 03:54:41 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2021-03-29 03:54:41 +0000
commit03258c896fd61de81ccb80386b5aad3953c10a28 (patch)
tree1067ce5aa8f80c1dc609d16de1d102bf70f4b3d7 /usr.sbin/npppd/pppoe
parent9df35706bfcbe878766826857c8e866387791afd (diff)
spellings
suggested by jsg
Diffstat (limited to 'usr.sbin/npppd/pppoe')
-rw-r--r--usr.sbin/npppd/pppoe/pppoe.h4
-rw-r--r--usr.sbin/npppd/pppoe/pppoe_session.c6
-rw-r--r--usr.sbin/npppd/pppoe/pppoed.c8
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/npppd/pppoe/pppoe.h b/usr.sbin/npppd/pppoe/pppoe.h
index 12e3209c144..e643c2b0d13 100644
--- a/usr.sbin/npppd/pppoe/pppoe.h
+++ b/usr.sbin/npppd/pppoe/pppoe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppoe.h,v 1.7 2015/12/05 16:10:31 yasuoka Exp $ */
+/* $OpenBSD: pppoe.h,v 1.8 2021/03/29 03:54:39 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -174,7 +174,7 @@ typedef struct _pppoe_session {
struct event ev_disposing;
} pppoe_session;
-#define PPPOE_SESSION_STATE_INIT 0 /** Inital */
+#define PPPOE_SESSION_STATE_INIT 0 /** Initial */
#define PPPOE_SESSION_STATE_RUNNING 1 /** Running */
#define PPPOE_SESSION_STATE_DISPOSING 2 /** Disposing */
diff --git a/usr.sbin/npppd/pppoe/pppoe_session.c b/usr.sbin/npppd/pppoe/pppoe_session.c
index 7f163f7f902..104c3a7cb68 100644
--- a/usr.sbin/npppd/pppoe/pppoe_session.c
+++ b/usr.sbin/npppd/pppoe/pppoe_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppoe_session.c,v 1.11 2015/12/05 16:10:31 yasuoka Exp $ */
+/* $OpenBSD: pppoe_session.c,v 1.12 2021/03/29 03:54:40 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -28,7 +28,7 @@
/**@file
* Session management of PPPoE protocol
- * $Id: pppoe_session.c,v 1.11 2015/12/05 16:10:31 yasuoka Exp $
+ * $Id: pppoe_session.c,v 1.12 2021/03/29 03:54:40 yasuoka Exp $
*/
#include <sys/types.h>
@@ -171,7 +171,7 @@ pppoe_session_input(pppoe_session *_this, u_char *pkt, int lpkt)
* Quit this function before statistics counter
* is processed when the packet will be processed by
* PIPEX. Because current NPPPD PPPOE implementation
- * is recieving all packet from BPF even though the
+ * is receiving all packet from BPF even though the
* PIPEX will process it.
*/
} else if (rval != 0) {
diff --git a/usr.sbin/npppd/pppoe/pppoed.c b/usr.sbin/npppd/pppoe/pppoed.c
index cfd6f835867..9e13389670f 100644
--- a/usr.sbin/npppd/pppoe/pppoed.c
+++ b/usr.sbin/npppd/pppoe/pppoed.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppoed.c,v 1.24 2020/12/30 19:04:56 benno Exp $ */
+/* $OpenBSD: pppoed.c,v 1.25 2021/03/29 03:54:40 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -27,8 +27,8 @@
*/
/**@file
* This file provides the PPPoE(RFC2516) server(access concentrator)
- * implementaion.
- * $Id: pppoed.c,v 1.24 2020/12/30 19:04:56 benno Exp $
+ * implementation.
+ * $Id: pppoed.c,v 1.25 2021/03/29 03:54:40 yasuoka Exp $
*/
#include <sys/param.h> /* ALIGN */
#include <sys/types.h>
@@ -177,7 +177,7 @@ pppoed_listener_init(pppoed *_this, pppoed_listener *listener)
listener->index = PPPOED_LISTENER_INVALID_INDEX;
}
-/* reload listner */
+/* reload listener */
int
pppoed_reload_listeners(pppoed *_this)
{