summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-09-02 08:46:12 -0700
committerhagbard <vyosdev@derith.de>2018-09-02 08:46:12 -0700
commit737afd170b0b2dfbb86514e0fcf4959794064632 (patch)
tree6e5487e85ab54d18be7dd3d02e1e83b142094c7e /interface-definitions
parenta6831b208ca431c323904949285f0205f342d4fb (diff)
downloadvyos-1x-737afd170b0b2dfbb86514e0fcf4959794064632.tar.gz
vyos-1x-737afd170b0b2dfbb86514e0fcf4959794064632.zip
regex for endpoint removed
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/wireguard.xml8
1 files changed, 2 insertions, 6 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index e325c5df9..5e9c41ace 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -103,14 +103,10 @@
<multi/>
</properties>
</leafNode>
- <!-- check format IP:port -->
+ <!-- eventually check format IP:port -->
<leafNode name="endpoint">
<properties>
- <help>Remote endpoint</help>
- <constraint>
- <regex>:[1-6][0-9]{3,4}$</regex>
- </constraint>
- <constraintErrorMessage>invalid endpoint setting (IP:port)</constraintErrorMessage>
+ <help>Remote endpoint (IP:port)</help>
</properties>
</leafNode>
<leafNode name="persistent-keepalive">