summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-25 16:33:37 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-25 16:33:37 +0100
commit6e0aad3a6b1a35428674f2266932528403c9702a (patch)
tree2028d797ca99b1864aef3c7a0ff328e69d42eb47 /interface-definitions
parent7291397ad9b0919982806b848cccca550fa9dfc3 (diff)
downloadvyos-1x-6e0aad3a6b1a35428674f2266932528403c9702a.tar.gz
vyos-1x-6e0aad3a6b1a35428674f2266932528403c9702a.zip
login: user: radius: T1948: only allow IPv4 server address
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-login-radius.xml.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/interface-definitions/system-login-radius.xml.in b/interface-definitions/system-login-radius.xml.in
index 00e85db3e..3d1a1b151 100644
--- a/interface-definitions/system-login-radius.xml.in
+++ b/interface-definitions/system-login-radius.xml.in
@@ -24,6 +24,13 @@
<tagNode name="server">
<properties>
<help>RADIUS server configuration</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>RADIUS server IPv4 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
</properties>
<children>
<leafNode name="key">