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

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

Log Message:
trying to ind the right place for MLPPP renegotiation.


To generate a diff of this commit:
cvs rdiff -u -r1.187.2.10 -r1.187.2.11 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.10 src/sys/net/if_spppsubr.c:1.187.2.11
--- src/sys/net/if_spppsubr.c:1.187.2.10	Sat Apr 11 10:06:22 2020
+++ src/sys/net/if_spppsubr.c	Sat Apr 11 10:47:06 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_spppsubr.c,v 1.187.2.10 2020/04/11 10:06:22 is Exp $	 */
+/*	$NetBSD: if_spppsubr.c,v 1.187.2.11 2020/04/11 10:47:06 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.10 2020/04/11 10:06:22 is Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.187.2.11 2020/04/11 10:47:06 is Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -3057,6 +3057,10 @@ sppp_lcp_tld(struct sppp *sp)
 			(cps[i])->Close(sp);
 		}
 	}
+
+	sp->lcp.mrru = sp->pp_if.if_mtu;
+	sp->lcp.opts |= (1 << LCP_OPT_MP_MRRU);
+	sp->lcp.their_mrru = 0;
 }
 
 static void

Reply via email to