Source-Changes-HG archive

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

[src/is-mlppp]: src/sys/net trying to ind the right place for MLPPP renegotia...



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

description:
trying to ind the right place for MLPPP renegotiation.

diffstat:

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

diffs (29 lines):

diff -r 4c2849532792 -r ac03eaae6724 sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c     Sat Apr 11 10:06:22 2020 +0000
+++ b/sys/net/if_spppsubr.c     Sat Apr 11 10:47:06 2020 +0000
@@ -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 @@
                        (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



Home | Main Index | Thread Index | Old Index