summaryrefslogtreecommitdiff
path: root/data/templates/pppoe/peer.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-04 14:16:14 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-04 14:16:14 +0100
commit4a64349e3c02cb0c2f2105356d3de39843e45061 (patch)
tree2df643aa9ea097d15f196f56b80ff78d2ee6341a /data/templates/pppoe/peer.tmpl
parenta03b8e122cb639876e325603726fbe05c492088e (diff)
downloadvyos-1x-4a64349e3c02cb0c2f2105356d3de39843e45061.tar.gz
vyos-1x-4a64349e3c02cb0c2f2105356d3de39843e45061.zip
pppoe: T3112: drop "ipv6 enable" option
IPv6 enable can be considered once the ipv6 node is present!
Diffstat (limited to 'data/templates/pppoe/peer.tmpl')
-rw-r--r--data/templates/pppoe/peer.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/pppoe/peer.tmpl b/data/templates/pppoe/peer.tmpl
index dd4272a98..db2cc6188 100644
--- a/data/templates/pppoe/peer.tmpl
+++ b/data/templates/pppoe/peer.tmpl
@@ -53,9 +53,11 @@ mru {{ mtu }}
{{ "usepeerdns" if no_peer_dns is not defined }}
-{% if ipv6 is defined and ipv6.enable is defined %}
+{% if ipv6 is defined %}
+ipv6
+{% if ipv6.address is defined and ipv6.address.autoconf is defined %}
ipv6cp-use-ipaddr
+{% endif %}
{% endif %}
{% if service_name is defined %}