summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/auth-local-users.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-04 11:54:54 +0100
committerGitHub <noreply@github.com>2021-11-04 11:54:54 +0100
commit8bfece476c09e966ba5c8a3f95afe915e3654441 (patch)
tree5298fdab9ed6dc494ee4f98768b8eda7f3f58bfc /interface-definitions/include/accel-ppp/auth-local-users.xml.i
parent5181fb7facfabd2c5eb046cf14a32bb1a17e4d44 (diff)
parentb8f702bc7b6e92b8841271b4a2355d2b65ccb247 (diff)
downloadvyos-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
Diffstat (limited to 'interface-definitions/include/accel-ppp/auth-local-users.xml.i')
-rw-r--r--interface-definitions/include/accel-ppp/auth-local-users.xml.i3
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>