summaryrefslogtreecommitdiff
path: root/interface-definitions/https.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-12 14:18:10 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-12 14:20:10 +0100
commit339821f121d86ef8c670cc2f5beea0c553a2fc9b (patch)
tree90d142214c018895a2ad1ff432d75abdeb8507da /interface-definitions/https.xml.in
parent6b980e1ea02ae2b49195d3e2abef26e07481da3f (diff)
downloadvyos-1x-339821f121d86ef8c670cc2f5beea0c553a2fc9b.tar.gz
vyos-1x-339821f121d86ef8c670cc2f5beea0c553a2fc9b.zip
xml: use "u32:" keyword when identifying port ranges
This will render the completion help more nicely.
Diffstat (limited to 'interface-definitions/https.xml.in')
-rw-r--r--interface-definitions/https.xml.in13
1 files changed, 1 insertions, 12 deletions
diff --git a/interface-definitions/https.xml.in b/interface-definitions/https.xml.in
index 9bb96f1f0..69fe90dab 100644
--- a/interface-definitions/https.xml.in
+++ b/interface-definitions/https.xml.in
@@ -67,18 +67,7 @@
<priority>1002</priority>
</properties>
<children>
- <leafNode name="port">
- <properties>
- <help>Port for HTTP API service</help>
- <valueHelp>
- <format>1-65535</format>
- <description>Numeric IP port</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/port-number.xml.i>
<node name="keys">
<properties>
<help>HTTP API keys</help>