Module Name:    src
Committed By:   is
Date:           Sat Apr 11 10:06:22 UTC 2020

Modified Files:
        src/sys/net [is-mlppp]: if_spppsubr.c

Log Message:
typo


To generate a diff of this commit:
cvs rdiff -u -r1.187.2.9 -r1.187.2.10 src/sys/net/if_spppsubr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if_spppsubr.c
diff -u src/sys/net/if_spppsubr.c:1.187.2.9 src/sys/net/if_spppsubr.c:1.187.2.10
--- src/sys/net/if_spppsubr.c:1.187.2.9	Sat Apr 11 09:40:02 2020
+++ src/sys/net/if_spppsubr.c	Sat Apr 11 10:06:22 2020
@@ -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 @@ sppp_lcp_RCN_nak(struct sppp *sp, struct
 				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);
 			}

Reply via email to