summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-06-12 20:50:40 +0200
committerGitHub <noreply@github.com>2023-06-12 20:50:40 +0200
commit4816264e3a6b824da2d0b96aea60f958c46947a2 (patch)
tree1c7d2939ca6ab70751c86606c4027440ea5acb24
parentd88855fe040e7ac046c22614d11738205a01a4ab (diff)
parent8a79769bf447cb18d456f061afd6a7997b8264f8 (diff)
downloadvyos-1x-4816264e3a6b824da2d0b96aea60f958c46947a2.tar.gz
vyos-1x-4816264e3a6b824da2d0b96aea60f958c46947a2.zip
Merge pull request #2040 from nicolas-fort/T5283
T5283: ipoe-server: add more flexibility in subnet parameter.
-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 -->