summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-06-12 16:51:34 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-06-12 16:51:34 +0000
commit8a79769bf447cb18d456f061afd6a7997b8264f8 (patch)
treec7306e926fbf16fdc6be79e905b4ccd0fb41433f /interface-definitions
parentb01a7a06ae63c2f0bbeb60a8cef567f4d333be30 (diff)
downloadvyos-1x-8a79769bf447cb18d456f061afd6a7997b8264f8.tar.gz
vyos-1x-8a79769bf447cb18d456f061afd6a7997b8264f8.zip
T5283: ipoe-server: add more flexibility in subnet parameter.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i3
1 files changed, 2 insertions, 1 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..b93ba67d8 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,8 +8,9 @@
</valueHelp>
<constraint>
<validator name="ipv4-prefix"/>
+ <validator name="ipv4-host"/>
</constraint>
- <constraintErrorMessage>Not a valid CIDR formatted prefix</constraintErrorMessage>
+ <constraintErrorMessage>Not a valid IP address or prefix</constraintErrorMessage>
</properties>
</leafNode>
<!-- include end -->