summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 17:07:04 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 17:07:06 +0200
commit2490b60c2772c58e2c92f0d453565619ea2d9b7d (patch)
tree76bb5de64524afb6c6f7e35d81144024865c40a3 /interface-definitions
parent9c2f892bc8fc4c7f3ba60196f888949ecf70f330 (diff)
downloadvyos-1x-2490b60c2772c58e2c92f0d453565619ea2d9b7d.tar.gz
vyos-1x-2490b60c2772c58e2c92f0d453565619ea2d9b7d.zip
wireguard: T2228: support ports < 1024
There is no legit reason to not allow ports < 1024.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/wireguard.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index 8ac243d92..f580cd833 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -18,7 +18,7 @@
<children>
<leafNode name="address">
<properties>
- <help>IP address</help>
+ <help>IP address</help>
<constraint>
<validator name="cidr"/>
</constraint>
@@ -51,8 +51,12 @@
<leafNode name="port">
<properties>
<help>Local port number to accept connections</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Numeric IP port</description>
+ </valueHelp>
<constraint>
- <validator name="numeric" argument="--range 1024-65535"/>
+ <validator name="numeric" argument="--range 1-65535"/>
</constraint>
</properties>
</leafNode>