summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-port.xml.i
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/include/nat-port.xml.i
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/include/nat-port.xml.i')
-rw-r--r--interface-definitions/include/nat-port.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/nat-port.xml.i b/interface-definitions/include/nat-port.xml.i
index e417d13cc..6465c00e9 100644
--- a/interface-definitions/include/nat-port.xml.i
+++ b/interface-definitions/include/nat-port.xml.i
@@ -3,12 +3,12 @@
<properties>
<help>Port number</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Numeric IP port</description>
</valueHelp>
<valueHelp>
<format>start-end</format>
- <description>Numbered port range (e.g., 1001-1005)</description>
+ <description>Numbered port range (e.g. 1001-1005)</description>
</valueHelp>
<valueHelp>
<format> </format>