diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-12 14:18:10 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-12 14:20:10 +0100 |
commit | 339821f121d86ef8c670cc2f5beea0c553a2fc9b (patch) | |
tree | 90d142214c018895a2ad1ff432d75abdeb8507da /interface-definitions/include | |
parent | 6b980e1ea02ae2b49195d3e2abef26e07481da3f (diff) | |
download | vyos-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')
5 files changed, 6 insertions, 6 deletions
diff --git a/interface-definitions/include/accel-radius-additions.xml.i b/interface-definitions/include/accel-radius-additions.xml.i index bf0f0ac94..3ec0d587e 100644 --- a/interface-definitions/include/accel-radius-additions.xml.i +++ b/interface-definitions/include/accel-radius-additions.xml.i @@ -132,7 +132,7 @@ <properties> <help>Port for Dynamic Authorization Extension server (DM/CoA) (default: 1700)</help> <valueHelp> - <format>number</format> + <format>u32:1-65535</format> <description>TCP port</description> </valueHelp> <constraint> 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> diff --git a/interface-definitions/include/nat-translation-port.xml.i b/interface-definitions/include/nat-translation-port.xml.i index db8803dac..e3ea42e4d 100644 --- a/interface-definitions/include/nat-translation-port.xml.i +++ b/interface-definitions/include/nat-translation-port.xml.i @@ -3,7 +3,7 @@ <properties> <help>Port number</help> <valueHelp> - <format>1-65535</format> + <format>u32:1-65535</format> <description>Numeric IP port</description> </valueHelp> <valueHelp> diff --git a/interface-definitions/include/port-number.xml.i b/interface-definitions/include/port-number.xml.i index d94523e1e..0d0747811 100644 --- a/interface-definitions/include/port-number.xml.i +++ b/interface-definitions/include/port-number.xml.i @@ -3,7 +3,7 @@ <properties> <help>Port number used to establish connection</help> <valueHelp> - <format>1-65535</format> + <format>u32:1-65535</format> <description>Numeric IP port</description> </valueHelp> <constraint> diff --git a/interface-definitions/include/radius-server.xml.i b/interface-definitions/include/radius-server.xml.i index b78ebb306..fc8fe5248 100644 --- a/interface-definitions/include/radius-server.xml.i +++ b/interface-definitions/include/radius-server.xml.i @@ -43,7 +43,7 @@ <properties> <help>Authentication port</help> <valueHelp> - <format>1-65535</format> + <format>u32:1-65535</format> <description>Numeric IP port (default: 1812)</description> </valueHelp> <constraint> |