summaryrefslogtreecommitdiff
path: root/interface-definitions/system-proxy.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/system-proxy.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/system-proxy.xml.in')
-rw-r--r--interface-definitions/system-proxy.xml.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/system-proxy.xml.in b/interface-definitions/system-proxy.xml.in
index 540fa97e3..791f41f2f 100644
--- a/interface-definitions/system-proxy.xml.in
+++ b/interface-definitions/system-proxy.xml.in
@@ -18,6 +18,10 @@
<leafNode name="port">
<properties>
<help>Proxy port</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Numeric IP port</description>
+ </valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-65535"/>
</constraint>