summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_openconnect.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-27 13:00:13 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-27 13:00:13 +0100
commit19161b72ea9d06327e75360e121753b5f9a754c8 (patch)
tree8e865ec47364b21af84691d4ddb1b886ad06d1bd /interface-definitions/vpn_openconnect.xml.in
parentb32385f9acef1630771838a4e0baa9d0c40dd98e (diff)
downloadvyos-1x-19161b72ea9d06327e75360e121753b5f9a754c8.tar.gz
vyos-1x-19161b72ea9d06327e75360e121753b5f9a754c8.zip
xml: fix valueHelp format strings
A pre-defined list of common format strings to be used inside the <format> node of <valueHelp> is available from [1]. Adjust all currently in use <format> nodes to re-use the predefined strings over writing them on their own by even encapsulating the <> signs as &lt; and &gt;. [1]: https://github.com/vyos/vyatta-cfg/blob/5aec1a0429f2f/etc/bash_completion.d/vyatta-cfg#L515-L566
Diffstat (limited to 'interface-definitions/vpn_openconnect.xml.in')
-rw-r--r--interface-definitions/vpn_openconnect.xml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/interface-definitions/vpn_openconnect.xml.in b/interface-definitions/vpn_openconnect.xml.in
index 203f85bbc..791efcd80 100644
--- a/interface-definitions/vpn_openconnect.xml.in
+++ b/interface-definitions/vpn_openconnect.xml.in
@@ -64,7 +64,7 @@
<properties>
<help>Session timeout</help>
<valueHelp>
- <format>1-30</format>
+ <format>u32:1-30</format>
<description>Session timeout in seconds (default: 2)</description>
</valueHelp>
<constraint>
@@ -87,7 +87,7 @@
<properties>
<help>tcp port number to accept connections (default: 443)</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Numeric IP port (default: 443)</description>
</valueHelp>
<constraint>
@@ -100,7 +100,7 @@
<properties>
<help>udp port number to accept connections (default: 443)</help>
<valueHelp>
- <format>1-65535</format>
+ <format>u32:1-65535</format>
<description>Numeric IP port (default: 443)</description>
</valueHelp>
<constraint>
@@ -220,7 +220,7 @@
<properties>
<help>Prefix length used for individual client</help>
<valueHelp>
- <format>&lt;48-128&gt;</format>
+ <format>u32:48-128</format>
<description>Client prefix length (default: 64)</description>
</valueHelp>
<constraint>