diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-02-16 16:21:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 16:21:14 +0000 |
commit | 0a464cbf20af647b84b787aca43d03b3f78de77c (patch) | |
tree | 84a4281b080d153d0facb14d4fbfcba670515607 /interface-definitions | |
parent | 6a108d67e76e3d61b2737fc4f2e220d51ec0702a (diff) | |
parent | 5c05027f42a470dd02b3f605e29d0b90795774a7 (diff) | |
download | vyos-1x-0a464cbf20af647b84b787aca43d03b3f78de77c.tar.gz vyos-1x-0a464cbf20af647b84b787aca43d03b3f78de77c.zip |
Merge pull request #3018 from aapostoliuk/T5418-equuleus
T5418: PPPoE allowed creating subnet started from any IP
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i | 1 | ||||
-rw-r--r-- | interface-definitions/include/accel-ppp/client-ip-pool-subnet.xml.i | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i b/interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i index e5918b765..3f8de5443 100644 --- a/interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i +++ b/interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i @@ -8,6 +8,7 @@ </valueHelp> <constraint> <validator name="ipv4-prefix"/> + <validator name="ipv4-host"/> </constraint> <constraintErrorMessage>Not a valid CIDR formatted prefix</constraintErrorMessage> </properties> diff --git a/interface-definitions/include/accel-ppp/client-ip-pool-subnet.xml.i b/interface-definitions/include/accel-ppp/client-ip-pool-subnet.xml.i index 2dc71d3f9..a4dcb3af8 100644 --- a/interface-definitions/include/accel-ppp/client-ip-pool-subnet.xml.i +++ b/interface-definitions/include/accel-ppp/client-ip-pool-subnet.xml.i @@ -8,6 +8,7 @@ </valueHelp> <constraint> <validator name="ipv4-prefix"/> + <validator name="ipv4-host"/> </constraint> <constraintErrorMessage>Not a valid CIDR formatted prefix</constraintErrorMessage> <multi /> |