diff options
author | John Estabrook <jestabro@vyos.io> | 2020-07-26 14:37:28 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2020-07-26 14:38:53 -0500 |
commit | 5660b07a0b95b685ba46c308a3d1fd0774cfdbfb (patch) | |
tree | ae10122faff8725f3d57889e7128601b176af6c4 | |
parent | 4520e512a92786da4e04c296cf2cb7cacd958756 (diff) | |
download | vyos-1x-5660b07a0b95b685ba46c308a3d1fd0774cfdbfb.tar.gz vyos-1x-5660b07a0b95b685ba46c308a3d1fd0774cfdbfb.zip |
pppoe-server: T1985: backport Enable ipv6 modules if ipv6 not denied
-rw-r--r-- | interface-definitions/pppoe-server.xml | 6 | ||||
-rwxr-xr-x | src/conf_mode/accel_pppoe.py | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/interface-definitions/pppoe-server.xml b/interface-definitions/pppoe-server.xml index 18b0e649c..4f39d7950 100644 --- a/interface-definitions/pppoe-server.xml +++ b/interface-definitions/pppoe-server.xml @@ -519,6 +519,9 @@ <format>require</format> <description>Require IPv4 negotiation</description> </valueHelp> + <completionHelp> + <list>deny allow prefer require</list> + </completionHelp> </properties> </leafNode> <leafNode name="ipv6"> @@ -544,6 +547,9 @@ <format>require</format> <description>Require IPv6 negotiation</description> </valueHelp> + <completionHelp> + <list>deny allow prefer require</list> + </completionHelp> </properties> </leafNode> <leafNode name="ipv6-intf-id"> diff --git a/src/conf_mode/accel_pppoe.py b/src/conf_mode/accel_pppoe.py index 1c99bf0fc..c8b570a87 100755 --- a/src/conf_mode/accel_pppoe.py +++ b/src/conf_mode/accel_pppoe.py @@ -49,7 +49,7 @@ radius {% endif %} chap-secrets ippool -{% if client_ipv6_pool %} +{% if ppp_options['ipv6'] != 'deny' %} ipv6pool {% endif %} auth_pap |