summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-22 22:01:44 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-22 22:01:47 +0200
commita858e5a62000f164bc4b28125914b4d8db9da3b8 (patch)
tree9bf6d84bec838de4b5a59105309ceeb37137b6a4 /data
parent4c9446dc13922cd328b45ef545e83d4e10c01a36 (diff)
downloadvyos-1x-a858e5a62000f164bc4b28125914b4d8db9da3b8.tar.gz
vyos-1x-a858e5a62000f164bc4b28125914b4d8db9da3b8.zip
dhcpv6: T4357: length must be encoded else packet is malformed
Diffstat (limited to 'data')
-rw-r--r--data/templates/dhcp-server/dhcpdv6.conf.j24
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/dhcp-server/dhcpdv6.conf.j2 b/data/templates/dhcp-server/dhcpdv6.conf.j2
index d4b7f74d9..6d114361e 100644
--- a/data/templates/dhcp-server/dhcpdv6.conf.j2
+++ b/data/templates/dhcp-server/dhcpdv6.conf.j2
@@ -11,7 +11,9 @@ option dhcp6.preference {{ preference }};
{% if global_parameters.name_server is vyos_defined %}
option dhcp6.name-servers {{ global_parameters.name_server | join(', ') }};
{% endif %}
-option space cisco;
+
+# Vendor specific options - Cisco
+option space cisco code width 2 length width 2;
option cisco.tftp-servers code 1 = array of ip6-address;
option vsio.cisco code 9 = encapsulate cisco;