diff options
author | Christian Breunig <christian@breunig.cc> | 2023-06-12 20:50:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 20:50:40 +0200 |
commit | 4816264e3a6b824da2d0b96aea60f958c46947a2 (patch) | |
tree | 1c7d2939ca6ab70751c86606c4027440ea5acb24 /interface-definitions/include | |
parent | d88855fe040e7ac046c22614d11738205a01a4ab (diff) | |
parent | 8a79769bf447cb18d456f061afd6a7997b8264f8 (diff) | |
download | vyos-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.
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i | 3 |
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 --> |