diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-11 21:09:01 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-10-11 21:09:01 +0200 |
commit | 8fab454559a8d8791cbb24b18f23634f66e8064b (patch) | |
tree | 15bd3af47be156d3725cb6415f80f2d61dc1276a /interface-definitions | |
parent | 190b6612f65382917457f827eddb7b627f3b4fb0 (diff) | |
download | vyos-1x-8fab454559a8d8791cbb24b18f23634f66e8064b.tar.gz vyos-1x-8fab454559a8d8791cbb24b18f23634f66e8064b.zip |
tftp-server: T2974: migrate to get_config_dict()
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/tftp-server.xml.in | 14 |
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> |