From 12f566f4566c8ef115b15f0c11280cb3ea9a7673 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 26 Aug 2020 20:00:14 +0200 Subject: pppoe-server: 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/service_pppoe-server.xml.in | 42 +++++++++++------------ 1 file changed, 20 insertions(+), 22 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in index c7ba2617a..605f47b37 100644 --- a/interface-definitions/service_pppoe-server.xml.in +++ b/interface-definitions/service_pppoe-server.xml.in @@ -311,31 +311,29 @@ - + 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 do not fail - - - - - - Deny MPPE - - - - - + LCP echo-requests/sec -- cgit v1.2.3