summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireguard.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 13:31:38 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 13:31:38 +0200
commit792b5dcd5a33785c994065d2c7243c21470b3d29 (patch)
tree3f97b6f607a0e4f4733ea466da4ef82c7e6911e5 /interface-definitions/interfaces-wireguard.xml.in
parent5a02c36939a1dae7a12cea1bfb8cd1c8c32e85e9 (diff)
downloadvyos-1x-792b5dcd5a33785c994065d2c7243c21470b3d29.tar.gz
vyos-1x-792b5dcd5a33785c994065d2c7243c21470b3d29.zip
wireguard: T2228: support ports less then 1024
Diffstat (limited to 'interface-definitions/interfaces-wireguard.xml.in')
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index f0b5d8df6..d3f084774 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -23,11 +23,11 @@
<properties>
<help>Local port to listen for incoming connections</help>
<valueHelp>
- <format>1024-65535</format>
+ <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>
@@ -117,11 +117,11 @@
<properties>
<help>Port number on tunnel remote end</help>
<valueHelp>
- <format>1024-65535</format>
+ <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>