summaryrefslogtreecommitdiff
path: root/data/templates/pppoe
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-07-08 19:59:27 +0200
committerGitHub <noreply@github.com>2020-07-08 19:59:27 +0200
commit1c04b2707cb5af2fb403041b95c7aa44ca258b31 (patch)
tree4810e4c4293c3150f97d6f1c6b676f294d0b9aed /data/templates/pppoe
parentd0261c4daf31bd7fc05643e86660caee9f0442c5 (diff)
parentd5599dbe3918c5a1f8d883d6e2db577b6b4ff4a2 (diff)
downloadvyos-1x-1c04b2707cb5af2fb403041b95c7aa44ca258b31.tar.gz
vyos-1x-1c04b2707cb5af2fb403041b95c7aa44ca258b31.zip
Merge pull request #493 from jack9603301/current
pppoe: ipv6: T2693: Fix a bug in dhcp6c for PPPoE
Diffstat (limited to 'data/templates/pppoe')
-rw-r--r--data/templates/pppoe/ip-down.script.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/pppoe/ip-down.script.tmpl b/data/templates/pppoe/ip-down.script.tmpl
index f69f9fc1a..d9d918c97 100644
--- a/data/templates/pppoe/ip-down.script.tmpl
+++ b/data/templates/pppoe/ip-down.script.tmpl
@@ -30,7 +30,7 @@ vtysh -c "conf t" ${VRF_NAME} -c "no ipv6 route ::/0 {{ ifname }} ${VRF_NAME}"
{% endif %}
{% endif %}
-{% if dhcpv6_pd_interfaces %}
-# Start wide dhcpv6 client
+{% if dhcpv6_options is defined and dhcpv6_options.prefix_delegation is defined %}
+# Stop wide dhcpv6 client
systemctl stop dhcp6c@{{ ifname }}.service
{% endif %}