summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-server/dhcpdv6.conf.tmpl
diff options
context:
space:
mode:
authorBrandon Stepler <brandon@stepler.net>2021-06-30 13:10:00 -0400
committerBrandon Stepler <brandon@stepler.net>2021-06-30 13:10:00 -0400
commit2318c874c4ec43076c2664e473f7273928d9f2a6 (patch)
tree9c766cc17006abfe229e8f06de3e700bf59f9a85 /data/templates/dhcp-server/dhcpdv6.conf.tmpl
parent31bbac481c53a2cf86d593136218b60037fb4b41 (diff)
downloadvyos-1x-2318c874c4ec43076c2664e473f7273928d9f2a6.tar.gz
vyos-1x-2318c874c4ec43076c2664e473f7273928d9f2a6.zip
dhcpdv6: T3658: add support for dhcpdv6 fixed-prefix6
Diffstat (limited to 'data/templates/dhcp-server/dhcpdv6.conf.tmpl')
-rw-r--r--data/templates/dhcp-server/dhcpdv6.conf.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/dhcp-server/dhcpdv6.conf.tmpl b/data/templates/dhcp-server/dhcpdv6.conf.tmpl
index 8d653ff72..45d629928 100644
--- a/data/templates/dhcp-server/dhcpdv6.conf.tmpl
+++ b/data/templates/dhcp-server/dhcpdv6.conf.tmpl
@@ -107,6 +107,9 @@ shared-network {{ network | replace('_','-') }} {
{% if host_config.ipv6_address is defined and host_config.ipv6_address is not none %}
fixed-address6 {{ host_config.ipv6_address }};
{% endif %}
+{% if host_config.ipv6_prefix is defined and host_config.ipv6_prefix is not none %}
+ fixed-prefix6 {{ host_config.ipv6_prefix }};
+{% endif %}
}
{% endfor %}
{% endif %}