summaryrefslogtreecommitdiff
path: root/data/templates/pppoe/ipv6-up.script.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-23 11:50:41 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-23 11:50:44 +0200
commit52a78e3d76672a66e27c29b70102c844757e2055 (patch)
treef4df881b39849baa8cf0856028c7300bde9e8d40 /data/templates/pppoe/ipv6-up.script.tmpl
parentc8ea23cc3d3cab6e384b143d7d22030a9085f1a2 (diff)
downloadvyos-1x-52a78e3d76672a66e27c29b70102c844757e2055.tar.gz
vyos-1x-52a78e3d76672a66e27c29b70102c844757e2055.zip
dhcpv6-pd: pppoe: T2677: fix dhcpc6 startup
DHCPv6 client was not started as it used the old dict keys.
Diffstat (limited to 'data/templates/pppoe/ipv6-up.script.tmpl')
-rw-r--r--data/templates/pppoe/ipv6-up.script.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/pppoe/ipv6-up.script.tmpl b/data/templates/pppoe/ipv6-up.script.tmpl
index 3dee3d011..d0a62478c 100644
--- a/data/templates/pppoe/ipv6-up.script.tmpl
+++ b/data/templates/pppoe/ipv6-up.script.tmpl
@@ -40,12 +40,11 @@ echo 2 > /proc/sys/net/ipv6/conf/{{ ifname }}/accept_ra
echo 1 > /proc/sys/net/ipv6/conf/{{ ifname }}/autoconf
{% endif %}
-{% if dhcpv6_options is defined and dhcpv6_options.prefix_delegation is defined %}
+{% if dhcpv6_options is defined and dhcpv6_options.pd is defined %}
# Start wide dhcpv6 client
systemctl start dhcp6c@{{ ifname }}.service
{% endif %}
-
{% if default_route != 'none' -%}
# See https://phabricator.vyos.net/T2248 & T2220. Determine if we are enslaved
# to a VRF, this is needed to properly insert the default route.