summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-client/ipv6.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/dhcp-client/ipv6.tmpl')
-rw-r--r--data/templates/dhcp-client/ipv6.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/dhcp-client/ipv6.tmpl b/data/templates/dhcp-client/ipv6.tmpl
index 8957516e2..490f14726 100644
--- a/data/templates/dhcp-client/ipv6.tmpl
+++ b/data/templates/dhcp-client/ipv6.tmpl
@@ -23,6 +23,9 @@ id-assoc na 1 {
{% if dhcpv6_pd_interfaces %}
id-assoc pd 2 {
+{% if dhcpv6_pd_length %}
+ prefix ::/{{ dhcpv6_pd_length }} infinity;
+{% endif %}
{% for intf in dhcpv6_pd_interfaces %}
prefix-interface {{ intf.ifname }} {
{% if intf.sla_id %}