From 1bb1a388dba4b2e21ca20de78317d853bea10845 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 26 Aug 2020 20:09:44 +0200 Subject: pppoe-server: T2829: bugfix MPPE node definition PPPoE server supports setting the MPPE preferences, it is implemented as node with leafNodes for require, prefer and deny. This will render a wrong AccelPPP configuration as it will be "None" if specified. pppoe-server { ppp-options { mppe { deny require } } } instead it must be: pppoe-server { ppp-options { mppe require } } --- interface-definitions/pppoe-server.xml | 44 ++++++++++++++++------------------ 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/interface-definitions/pppoe-server.xml b/interface-definitions/pppoe-server.xml index 331f03b1f..e77886e4d 100644 --- a/interface-definitions/pppoe-server.xml +++ b/interface-definitions/pppoe-server.xml @@ -445,34 +445,32 @@ CCP negotiation (default disabled) - + - + Specifies MPPE negotiation preference. (default prefer mppe) + + deny prefer require + + + deny + Deny MPPE + + + prefer + Ask client for MPPE - do not fail on reject + + + require + Ask client for MPPE - drop connection on reject + + + ^(deny|prefer|require)$ + - - - - Ask client for MPPE, if it rejects then drop the connection - - - - - - Ask client for MPPE, if it rejects don't fail - - - - - - Deny MPPE - - - - - + LCP echo-requests/sec -- cgit v1.2.3