diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-28 17:54:47 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-28 17:54:47 +0200 |
commit | 2bab972dc8ddd19d106135f34fbaa1bc44f47112 (patch) | |
tree | 1f0949ad6b03f9458e5b29a45c05ccdfd281dd07 /interface-definitions | |
parent | 7b8f32864296d97bb69725a5f839257d3506d1d1 (diff) | |
download | vyos-1x-2bab972dc8ddd19d106135f34fbaa1bc44f47112.tar.gz vyos-1x-2bab972dc8ddd19d106135f34fbaa1bc44f47112.zip |
syslog: T2131: improve valueHelp
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/syslog.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/interface-definitions/syslog.xml b/interface-definitions/syslog.xml index adc7e9ea4..1b119bfcc 100644 --- a/interface-definitions/syslog.xml +++ b/interface-definitions/syslog.xml @@ -186,8 +186,12 @@ </constraint> <constraintErrorMessage>Invalid host FQDN or IP address</constraintErrorMessage> <valueHelp> - <format>x.x.x.x or host.domain.tld</format> - <description>Remote host name or IP address</description> + <format>ipv4</format> + <description>Remote syslog server IPv4 address</description> + </valueHelp> + <valueHelp> + <format>hostname</format> + <description>Remote syslog server FQDN</description> </valueHelp> </properties> <children> @@ -200,7 +204,7 @@ <constraint> <regex>(auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|protocols|security|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all)</regex> </constraint> - <constraintErrorMessage>Invalid facility type</constraintErrorMessage> + <constraintErrorMessage>Invalid facility type</constraintErrorMessage> <valueHelp> <format>all</format> <description>All facilities excluding "mark"</description> @@ -561,7 +565,7 @@ <help>time interval how often a mark message is being sent in seconds (default: 1200)</help> <constraint> <validator name="numeric" argument="--positive"/> - </constraint> + </constraint> </properties> </leafNode> </children> |