summaryrefslogtreecommitdiff
path: root/interface-definitions/snmp.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/snmp.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/snmp.xml.in')
-rw-r--r--interface-definitions/snmp.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in
index 2fe8ce583..fb3e82256 100644
--- a/interface-definitions/snmp.xml.in
+++ b/interface-definitions/snmp.xml.in
@@ -106,7 +106,7 @@
<properties>
<help>Port for SNMP service (default: '161')</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Numeric IP port</description>
</valueHelp>
<constraint>
@@ -179,7 +179,7 @@
<properties>
<help>Destination port used for trap notification</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Numeric IP port</description>
</valueHelp>
<constraint>
@@ -327,7 +327,7 @@
<properties>
<help>Specifies TCP/UDP port of destination SNMP traps/informs (default: '162')</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Numeric IP port</description>
</valueHelp>
<constraint>