Hello,

I've found a small typo in npppd(8):

Index: l2tp/l2tpd.c
===================================================================
RCS file: /cvs/src/usr.sbin/npppd/l2tp/l2tpd.c,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 l2tpd.c
--- l2tp/l2tpd.c        6 Oct 2017 07:46:44 -0000       1.20
+++ l2tp/l2tpd.c        21 Feb 2019 19:39:42 -0000
@@ -233,7 +233,7 @@ l2tpd_assign_call(l2tpd *_this, l2tp_cal
                L2TPD_ASSERT(shuffle_cnt == 0);
                if (shuffle_cnt++ > 0) {
                        l2tpd_log(_this, LOG_ERR,
-                           "unexpected errror in %s(): free_session_id_list "
+                           "unexpected error in %s(): free_session_id_list "
                            "full", __func__);
                        slist_add(&_this->free_session_id_list,
                            (void *)L2TP_SESSION_ID_SHUFFLE_MARK);
Index: pppoe/pppoed.c
===================================================================
RCS file: /cvs/src/usr.sbin/npppd/pppoe/pppoed.c,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 pppoed.c
--- pppoe/pppoed.c      19 Apr 2017 05:36:13 -0000      1.21
+++ pppoe/pppoed.c      21 Feb 2019 19:39:42 -0000
@@ -827,7 +827,7 @@ pppoed_recv_PADR(pppoed_listener *_this,
                PPPOED_ASSERT(shuffle_cnt == 0);
                if (shuffle_cnt++ > 0) {
                        pppoed_log(_pppoed, LOG_ERR,
-                           "unexpected errror in %s(): session_free_list full",
+                           "unexpected error in %s(): session_free_list full",
                            __func__);
                        slist_add(&_pppoed->session_free_list,
                            (void *)PPPOED_SESSION_SHUFFLE_MARK);

Thanks

Reply via email to