summaryrefslogtreecommitdiff
path: root/interface-definitions/system-syslog.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-17 09:59:55 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-17 09:59:55 +0200
commitc0483db231eb86ff6f5f64064d5dfce8c602e07f (patch)
tree8bcd6e60107a68ed5c370d8c97f6b9a5df7f5ad9 /interface-definitions/system-syslog.xml.in
parentb541b35e6bb663f3c10e102c8da5b70edaf4fea1 (diff)
downloadvyos-1x-c0483db231eb86ff6f5f64064d5dfce8c602e07f.tar.gz
vyos-1x-c0483db231eb86ff6f5f64064d5dfce8c602e07f.zip
xml: syslog: use port-number building block
Diffstat (limited to 'interface-definitions/system-syslog.xml.in')
-rw-r--r--interface-definitions/system-syslog.xml.in14
1 files changed, 1 insertions, 13 deletions
diff --git a/interface-definitions/system-syslog.xml.in b/interface-definitions/system-syslog.xml.in
index f3dcae2f3..9280a43c8 100644
--- a/interface-definitions/system-syslog.xml.in
+++ b/interface-definitions/system-syslog.xml.in
@@ -195,19 +195,7 @@
</valueHelp>
</properties>
<children>
- <leafNode name="port">
- <properties>
- <help>Destination port</help>
- <valueHelp>
- <format>u32: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>
+ #include <include/port-number.xml.i>
<tagNode name="facility">
<properties>
<help>Facility for logging</help>