diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-01-24 18:22:26 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-01-24 18:22:26 +0000 |
commit | 9e619702c40763cd9892f2e8ca3d75ae2969ebdb (patch) | |
tree | a35a936cddc22ea2a1d47e03fa02f4bbc5552a3c | |
parent | 94bf34511c28a48ae5f548c9f50acf8ef85f5ce6 (diff) | |
download | vyos-1x-9e619702c40763cd9892f2e8ca3d75ae2969ebdb.tar.gz vyos-1x-9e619702c40763cd9892f2e8ca3d75ae2969ebdb.zip |
pppoe-server: T1985: Enable ipv6 modules if ipv6 not denied
-rw-r--r-- | interface-definitions/service-pppoe.xml.in | 6 | ||||
-rwxr-xr-x | src/conf_mode/service-pppoe.py | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/interface-definitions/service-pppoe.xml.in b/interface-definitions/service-pppoe.xml.in index bf6023a82..7f93a6e2f 100644 --- a/interface-definitions/service-pppoe.xml.in +++ b/interface-definitions/service-pppoe.xml.in @@ -560,6 +560,9 @@ <format>require</format> <description>Require IPv4 negotiation</description> </valueHelp> + <completionHelp> + <list>deny allow prefer require</list> + </completionHelp> </properties> </leafNode> <leafNode name="ipv6"> @@ -585,6 +588,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/service-pppoe.py b/src/conf_mode/service-pppoe.py index b4a22b1cd..4090cb953 100755 --- a/src/conf_mode/service-pppoe.py +++ b/src/conf_mode/service-pppoe.py @@ -49,7 +49,7 @@ pppoe radius {% endif %} ippool -{% if client_ipv6_pool %} +{% if ppp_options['ipv6'] != 'deny' %} ipv6pool ipv6_nd ipv6_dhcp |