diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-26 10:06:02 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-05-26 10:27:46 +0200 |
commit | ccd564c2328a086b326957fdde8b07ca560bd6b2 (patch) | |
tree | cd4c9f5546473a6868ecffa8fbee57606381c602 /tests | |
parent | b6c343c363bf471fc78bd8dec885c88f1dd90cb5 (diff) | |
download | vyos-1x-ccd564c2328a086b326957fdde8b07ca560bd6b2.tar.gz vyos-1x-ccd564c2328a086b326957fdde8b07ca560bd6b2.zip |
dhcpv6-server: T3493: add proper validation for prefix-delegation start/stop address
ISC DHCP server expects a string: "prefix6 2001:db8:290:: 2001:db8:29f:: /64;"
where the IPv6 prefix/range must be :: terminaated with a delegated prefix
length at the end.
This commit changes the validator that the IPv6 address defined on the CLI must
always end with ::. In addition a verify() step is added to check that the
stop address is greater than start address.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions