summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-12-06 07:59:59 -0800
committerhagbard <vyosdev@derith.de>2019-12-06 08:01:51 -0800
commit123e7f8c07f56ad868604bcb42f8da095f97b2c9 (patch)
treec80e9d096fa3245aec2fb652c1a1934fbf057120 /interface-definitions
parenta45c23b57f09a805843c72d3dee5256eb118497a (diff)
downloadvyos-1x-123e7f8c07f56ad868604bcb42f8da095f97b2c9.tar.gz
vyos-1x-123e7f8c07f56ad868604bcb42f8da095f97b2c9.zip
syslog: T1845: syslog host no longer accepts a port
- created 'set system syslog host <ip address> port'
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-syslog.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/system-syslog.xml b/interface-definitions/system-syslog.xml
index 2d6af5395..8f4b105c8 100644
--- a/interface-definitions/system-syslog.xml
+++ b/interface-definitions/system-syslog.xml
@@ -191,6 +191,19 @@
</valueHelp>
</properties>
<children>
+ <leafNode name="port">
+ <properties>
+ <help>Destination port</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Destination port</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ <constraintErrorMessage>Invalid destination port value</constraintErrorMessage>
+ </properties>
+ </leafNode>
<tagNode name="facility">
<properties>
<help>Facility for logging</help>