summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/tftp-server.xml.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/interface-definitions/tftp-server.xml.in b/interface-definitions/tftp-server.xml.in
index 6458aaba2..abab71abd 100644
--- a/interface-definitions/tftp-server.xml.in
+++ b/interface-definitions/tftp-server.xml.in
@@ -20,7 +20,19 @@
<valueless/>
</properties>
</leafNode>
- #include <include/port-number.xml.i>
+ <leafNode name="port">
+ <properties>
+ <help>Port number used to listen for connections</help>
+ <valueHelp>
+ <format>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>
</children>
</node>