summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-06 08:05:47 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-06 08:05:47 +0200
commitcff1cefe7746eb68ad13a8da16e216914e87231c (patch)
tree7508eda658cd0844bfaef4571ccddea6b74d9e06
parent0ca6d38c846a2a04c43e79e6cf1ba65831979e2f (diff)
downloadvyos-1x-cff1cefe7746eb68ad13a8da16e216914e87231c.tar.gz
vyos-1x-cff1cefe7746eb68ad13a8da16e216914e87231c.zip
xml: tftp-server: include/reuse port-number.xml.i
-rw-r--r--interface-definitions/tftp-server.xml.in13
1 files changed, 1 insertions, 12 deletions
diff --git a/interface-definitions/tftp-server.xml.in b/interface-definitions/tftp-server.xml.in
index eea6fe531..6458aaba2 100644
--- a/interface-definitions/tftp-server.xml.in
+++ b/interface-definitions/tftp-server.xml.in
@@ -20,18 +20,7 @@
<valueless/>
</properties>
</leafNode>
- <leafNode name="port">
- <properties>
- <help>Port for TFTP service</help>
- <valueHelp>
- <format>1-65535</format>
- <description>Numeric IP port (default: 69)</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/port-number.xml.i>
#include <include/listen-address.xml.i>
</children>
</node>