Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/is-mlppp]: src/sys/net typo



details:   https://anonhg.NetBSD.org/src/rev/6577aab2cf8f
branches:  is-mlppp
changeset: 1008717:6577aab2cf8f
user:      is <is%NetBSD.org@localhost>
date:      Sat Apr 11 10:06:22 2020 +0000

description:
typo

diffstat:

 sys/net/if_spppsubr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r d7a170cdb680 -r 6577aab2cf8f sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c     Sat Apr 11 09:40:02 2020 +0000
+++ b/sys/net/if_spppsubr.c     Sat Apr 11 10:06:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_spppsubr.c,v 1.187.2.9 2020/04/11 09:40:02 is Exp $  */
+/*     $NetBSD: if_spppsubr.c,v 1.187.2.10 2020/04/11 10:06:22 is Exp $         */
 
 /*
  * Synchronous PPP/Cisco link level subroutines.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.187.2.9 2020/04/11 09:40:02 is Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.187.2.10 2020/04/11 10:06:22 is Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -2950,8 +2950,8 @@
                                u_int mrru = p[2] * 256 + p[3];
                                if (debug)
                                        addlog(" %d", mrru);
-                               if (mrru < PPP_MINMRU || mru > sp->pp_if.if_mtu)
-                                       mru = sp->pp_if.if_mtu;
+                               if (mrru < PPP_MINMRU || mrru > sp->pp_if.if_mtu)
+                                       mrru = sp->pp_if.if_mtu;
                                sp->lcp.mrru = mrru;
                                sp->lcp.opts |= (1 << LCP_OPT_MP_MRRU);
                        }



Home | Main Index | Thread Index | Old Index