From cef8147afd1d031c91cc90b7642aad8ae372c81b Mon Sep 17 00:00:00 2001 From: Brandon Stepler Date: Wed, 30 Jun 2021 13:10:00 -0400 Subject: dhcpdv6: T3658: add support for dhcpdv6 fixed-prefix6 (cherry picked from commit 2318c874c4ec43076c2664e473f7273928d9f2a6) --- data/templates/dhcp-server/dhcpdv6.conf.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data/templates/dhcp-server/dhcpdv6.conf.tmpl') 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 @@ -106,6 +106,9 @@ shared-network {{ network | replace('_','-') }} { {% endif %} {% 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 %} -- cgit v1.2.3