summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-17 09:59:38 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-17 09:59:38 +0200
commitb541b35e6bb663f3c10e102c8da5b70edaf4fea1 (patch)
tree309a0e9b9e3bd150f693814eb9dca0725cb661bc
parent0b1d6211a00e0267ace50d564c00643100d2b478 (diff)
downloadvyos-1x-b541b35e6bb663f3c10e102c8da5b70edaf4fea1.tar.gz
vyos-1x-b541b35e6bb663f3c10e102c8da5b70edaf4fea1.zip
xml: tftp: use port-number building block
-rw-r--r--interface-definitions/tftp-server.xml.in11
1 files changed, 1 insertions, 10 deletions
diff --git a/interface-definitions/tftp-server.xml.in b/interface-definitions/tftp-server.xml.in
index e903e8f4e..037c097ca 100644
--- a/interface-definitions/tftp-server.xml.in
+++ b/interface-definitions/tftp-server.xml.in
@@ -20,17 +20,8 @@
<valueless/>
</properties>
</leafNode>
+ #include <include/port-number.xml.i>
<leafNode name="port">
- <properties>
- <help>Port number used to listen for connections</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>Numeric IP port</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
<defaultValue>69</defaultValue>
</leafNode>
#include <include/listen-address.xml.i>