summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-server/dhcpdv6.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-30 19:25:20 +0200
committerGitHub <noreply@github.com>2021-06-30 19:25:20 +0200
commit1a4f40b6176f31bdd82fcba890cf1690d2bd2ff7 (patch)
tree9c766cc17006abfe229e8f06de3e700bf59f9a85 /data/templates/dhcp-server/dhcpdv6.conf.tmpl
parent31bbac481c53a2cf86d593136218b60037fb4b41 (diff)
parent2318c874c4ec43076c2664e473f7273928d9f2a6 (diff)
downloadvyos-1x-1a4f40b6176f31bdd82fcba890cf1690d2bd2ff7.tar.gz
vyos-1x-1a4f40b6176f31bdd82fcba890cf1690d2bd2ff7.zip
Merge pull request #902 from bstepler/T3658
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 %}