summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/dhcpv6-options.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-27 08:35:48 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-27 08:38:43 +0200
commit9c37885c89a8a1e8f4ec6894e21bab2b385a8713 (patch)
tree24b0f53da562c8edd1902e287304af26340f03c1 /interface-definitions/include/interface/dhcpv6-options.xml.i
parentd458ded452d90910ad670623534dd3f017603a6b (diff)
downloadvyos-1x-9c37885c89a8a1e8f4ec6894e21bab2b385a8713.tar.gz
vyos-1x-9c37885c89a8a1e8f4ec6894e21bab2b385a8713.zip
dhcp6: pd: T4447: bugfix sla-id limits (must be greater then 128
The sla-id parameter of DHCPv6 prefix delegations is limited to 128. While this is enough to use all /64 subnets of a /57 prefix, with a /56 prefix that is no longer sufficient. Increased sla-id length tp 65535 so one could delegate an entire /48. (cherry picked from commit 283276d457a09c100416c0d4ffccd4f94ccd2540)
Diffstat (limited to 'interface-definitions/include/interface/dhcpv6-options.xml.i')
-rw-r--r--interface-definitions/include/interface/dhcpv6-options.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/interface/dhcpv6-options.xml.i b/interface-definitions/include/interface/dhcpv6-options.xml.i
index a0cac34f1..e3be6713d 100644
--- a/interface-definitions/include/interface/dhcpv6-options.xml.i
+++ b/interface-definitions/include/interface/dhcpv6-options.xml.i
@@ -71,11 +71,11 @@
<properties>
<help>Interface site-Level aggregator (SLA)</help>
<valueHelp>
- <format>u32:0-128</format>
+ <format>u32:0-65535</format>
<description>Decimal integer which fits in the length of SLA IDs</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 0-128"/>
+ <validator name="numeric" argument="--range 0-65535"/>
</constraint>
</properties>
</leafNode>