summaryrefslogtreecommitdiff
path: root/interface-definitions/syslog.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-28 17:45:17 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-28 17:45:17 +0200
commit3cb7062664e8e108cb574159f56f87c6eff0a969 (patch)
treea9ccc0ef99d246112757074ddba32e431663b6e4 /interface-definitions/syslog.xml
parentddcf7902ea446231a872665200d2a36bbe667aa0 (diff)
downloadvyos-1x-3cb7062664e8e108cb574159f56f87c6eff0a969.tar.gz
vyos-1x-3cb7062664e8e108cb574159f56f87c6eff0a969.zip
syslog: T2131: add generic fqdn validator
Diffstat (limited to 'interface-definitions/syslog.xml')
-rw-r--r--interface-definitions/syslog.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/syslog.xml b/interface-definitions/syslog.xml
index f8ed31efa..adc7e9ea4 100644
--- a/interface-definitions/syslog.xml
+++ b/interface-definitions/syslog.xml
@@ -181,8 +181,8 @@
<properties>
<help>Logging to a remote host</help>
<constraint>
- <validator name="ip-address" />
- <regex>(?=^.{4,253}$)(^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9]\.)+[a-zA-Z]{2,63}$)</regex>
+ <validator name="ip-address"/>
+ <validator name="fqdn"/>
</constraint>
<constraintErrorMessage>Invalid host FQDN or IP address</constraintErrorMessage>
<valueHelp>