summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireguard.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 13:23:58 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 13:23:58 +0200
commit5a02c36939a1dae7a12cea1bfb8cd1c8c32e85e9 (patch)
treee259be1047389878c5ec73cd9783e11ba8325881 /interface-definitions/interfaces-wireguard.xml.in
parent347606ed319744c5b09161ce736a11f5443d91e2 (diff)
downloadvyos-1x-5a02c36939a1dae7a12cea1bfb8cd1c8c32e85e9.tar.gz
vyos-1x-5a02c36939a1dae7a12cea1bfb8cd1c8c32e85e9.zip
wireguard: T2206: add valueHelp for listen port
Diffstat (limited to 'interface-definitions/interfaces-wireguard.xml.in')
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index 87b38962d..f0b5d8df6 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -21,7 +21,11 @@
#include <include/interface-disable.xml.i>
<leafNode name="port">
<properties>
- <help>Local port number to accept connections</help>
+ <help>Local port to listen for incoming connections</help>
+ <valueHelp>
+ <format>1024-65535</format>
+ <description>Numeric IP port</description>
+ </valueHelp>
<constraint>
<validator name="numeric" argument="--range 1024-65535"/>
</constraint>