diff options
author | Brandon Stepler <brandon@stepler.net> | 2021-06-30 13:10:00 -0400 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-30 20:09:32 +0200 |
commit | cef8147afd1d031c91cc90b7642aad8ae372c81b (patch) | |
tree | b867f0c8273d6031ba52c422aa51c93e706caf20 /data/templates | |
parent | 35b2fbbf7dc9df94cca7d61acb29e0ec35854176 (diff) | |
download | vyos-1x-cef8147afd1d031c91cc90b7642aad8ae372c81b.tar.gz vyos-1x-cef8147afd1d031c91cc90b7642aad8ae372c81b.zip |
dhcpdv6: T3658: add support for dhcpdv6 fixed-prefix6
(cherry picked from commit 2318c874c4ec43076c2664e473f7273928d9f2a6)
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/dhcp-server/dhcpdv6.conf.tmpl | 3 |
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 %} |