diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-03 20:03:05 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-04 11:55:29 +0100 |
commit | 8dcb089916795aa83768fe429c4e280b95079ca9 (patch) | |
tree | e543f2e24edf5546c2fd8f4ae8e4a3898239e454 /interface-definitions/include | |
parent | 01ed77040ec9493e4ca1cf868ff3c22847da4487 (diff) | |
download | vyos-1x-8dcb089916795aa83768fe429c4e280b95079ca9.tar.gz vyos-1x-8dcb089916795aa83768fe429c4e280b95079ca9.zip |
sstp: accel-ppp: T3964: add missing input validator for static-ip assignment
(cherry picked from commit b8f702bc7b6e92b8841271b4a2355d2b65ccb247)
Diffstat (limited to 'interface-definitions/include')
-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> |