diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-04 11:54:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 11:54:54 +0100 |
commit | 8bfece476c09e966ba5c8a3f95afe915e3654441 (patch) | |
tree | 5298fdab9ed6dc494ee4f98768b8eda7f3f58bfc | |
parent | 5181fb7facfabd2c5eb046cf14a32bb1a17e4d44 (diff) | |
parent | b8f702bc7b6e92b8841271b4a2355d2b65ccb247 (diff) | |
download | vyos-1x-8bfece476c09e966ba5c8a3f95afe915e3654441.tar.gz vyos-1x-8bfece476c09e966ba5c8a3f95afe915e3654441.zip |
Merge pull request #1063 from vyos/t3964-add-missing-validator
sstp: accel-ppp: T3964: add missing input validator for static-ip assignment
-rw-r--r-- | interface-definitions/include/accel-ppp/auth-local-users.xml.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/auth-local-users.xml.i b/interface-definitions/include/accel-ppp/auth-local-users.xml.i index 308d6510d..1b40a9ea7 100644 --- a/interface-definitions/include/accel-ppp/auth-local-users.xml.i +++ b/interface-definitions/include/accel-ppp/auth-local-users.xml.i @@ -18,6 +18,9 @@ <leafNode name="static-ip"> <properties> <help>Static client IP address</help> + <constraint> + <validator name="ipv4-address"/> + </constraint> </properties> <defaultValue>*</defaultValue> </leafNode> |