summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2024-02-16 15:04:13 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2024-02-16 15:13:06 +0200
commit5c05027f42a470dd02b3f605e29d0b90795774a7 (patch)
tree84a4281b080d153d0facb14d4fbfcba670515607 /interface-definitions
parent6a108d67e76e3d61b2737fc4f2e220d51ec0702a (diff)
downloadvyos-1x-5c05027f42a470dd02b3f605e29d0b90795774a7.tar.gz
vyos-1x-5c05027f42a470dd02b3f605e29d0b90795774a7.zip
T5418: PPPoE allowed creating subnet started from any IP
Added the possibility of creating subnet in PPPoE client's IP pools started from any IP.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i1
-rw-r--r--interface-definitions/include/accel-ppp/client-ip-pool-subnet.xml.i1
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 />