summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-03 20:03:05 +0100
committerGitHub <noreply@github.com>2021-11-03 20:03:05 +0100
commitb8f702bc7b6e92b8841271b4a2355d2b65ccb247 (patch)
tree49a76bb756cd9609b2a20d15de83f248642a2fb4 /interface-definitions
parent8ec9a2dc7c149a7565e4e9823a8ccfc3bba3bce4 (diff)
downloadvyos-1x-b8f702bc7b6e92b8841271b4a2355d2b65ccb247.tar.gz
vyos-1x-b8f702bc7b6e92b8841271b4a2355d2b65ccb247.zip
sstp: accel-ppp: T3964: add missing input validator for static-ip assignment
Diffstat (limited to 'interface-definitions')
-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>