diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-28 21:30:20 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-28 21:30:20 +0000 |
commit | 30c6e2bff10bcc21f60c21eb9d29068c6790aed4 (patch) | |
tree | 160b7cd24896186ded48d98dd67e701b7f1c7ff2 /usr.sbin/npppd | |
parent | 6d982a342f98d6530a0f71d5f67313d5f2a07382 (diff) |
spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech
Diffstat (limited to 'usr.sbin/npppd')
-rw-r--r-- | usr.sbin/npppd/l2tp/l2tp_ctrl.c | 6 | ||||
-rw-r--r-- | usr.sbin/npppd/npppd/ppp.h | 4 | ||||
-rw-r--r-- | usr.sbin/npppd/pptp/pptpd.c | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/npppd/l2tp/l2tp_ctrl.c b/usr.sbin/npppd/l2tp/l2tp_ctrl.c index a8a642b2d11..0e8152f3289 100644 --- a/usr.sbin/npppd/l2tp/l2tp_ctrl.c +++ b/usr.sbin/npppd/l2tp/l2tp_ctrl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: l2tp_ctrl.c,v 1.26 2021/05/22 08:29:57 yasuoka Exp $ */ +/* $OpenBSD: l2tp_ctrl.c,v 1.27 2022/12/28 21:30:17 jmc Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -26,7 +26,7 @@ * SUCH DAMAGE. */ /**@file Control connection processing functions for L2TP LNS */ -/* $Id: l2tp_ctrl.c,v 1.26 2021/05/22 08:29:57 yasuoka Exp $ */ +/* $Id: l2tp_ctrl.c,v 1.27 2022/12/28 21:30:17 jmc Exp $ */ #include <sys/types.h> #include <sys/time.h> #include <sys/socket.h> @@ -1564,7 +1564,7 @@ l2tp_ctrl_send_ZLB(l2tp_ctrl *_this) } /* - * Utitlity + * Utility */ /** diff --git a/usr.sbin/npppd/npppd/ppp.h b/usr.sbin/npppd/npppd/ppp.h index dfab8c05217..ebabe30fa1c 100644 --- a/usr.sbin/npppd/npppd/ppp.h +++ b/usr.sbin/npppd/npppd/ppp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ppp.h,v 1.23 2021/03/29 03:54:39 yasuoka Exp $ */ +/* $OpenBSD: ppp.h,v 1.24 2022/12/28 21:30:17 jmc Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -454,7 +454,7 @@ struct _npppd_ppp { /** Physical layer */ int tunnel_type; /** PPP Tunnel Type */ - uint16_t tunnel_session_id; /** Tunnel Sesion Id */ + uint16_t tunnel_session_id; /** Tunnel Session Id */ uint16_t mru; /** MRU */ uint16_t peer_mru; /** Peer's MRU */ void *phy_context; /** Context of physical layer */ diff --git a/usr.sbin/npppd/pptp/pptpd.c b/usr.sbin/npppd/pptp/pptpd.c index 0565d204a28..e2901c51b92 100644 --- a/usr.sbin/npppd/pptp/pptpd.c +++ b/usr.sbin/npppd/pptp/pptpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pptpd.c,v 1.33 2021/03/29 03:54:40 yasuoka Exp $ */ +/* $OpenBSD: pptpd.c,v 1.34 2022/12/28 21:30:17 jmc Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -25,12 +25,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -/* $Id: pptpd.c,v 1.33 2021/03/29 03:54:40 yasuoka Exp $ */ +/* $Id: pptpd.c,v 1.34 2022/12/28 21:30:17 jmc Exp $ */ /**@file * This file provides a implementation of PPTP daemon. Currently it * provides functions for PAC (PPTP Access Concentrator) only. - * $Id: pptpd.c,v 1.33 2021/03/29 03:54:40 yasuoka Exp $ + * $Id: pptpd.c,v 1.34 2022/12/28 21:30:17 jmc Exp $ */ #include <sys/types.h> #include <sys/socket.h> @@ -661,7 +661,7 @@ pptpd_gre_io_event(int fd, short evmask, void *ctx) if (evmask & EV_READ) { for (;;) { - /* read till bloked */ + /* read till blocked */ peerlen = sizeof(peer); if ((sz = recvfrom(listener->sock_gre, pkt, sizeof(pkt), 0, (struct sockaddr *)&peer, &peerlen)) == -1) { |