summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-11-03 14:11:51 -0700
committerhagbard <vyosdev@derith.de>2018-11-03 14:20:54 -0700
commitb7a5e9dfcb6fda30b31309dbfd3353592ae3f180 (patch)
tree81925ae40b0454437e62ee40b3b2c0b169fc2bde
parent13710f8330f0c932ddfc437b49083ef24fd1d90a (diff)
downloadvyos-1x-b7a5e9dfcb6fda30b31309dbfd3353592ae3f180.tar.gz
vyos-1x-b7a5e9dfcb6fda30b31309dbfd3353592ae3f180.zip
T958: Problems with wireguard description
-rw-r--r--interface-definitions/wireguard.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index 575637ac9..3bf7bcd33 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -34,7 +34,7 @@
<properties>
<help>description</help>
<constraint>
- <regex>.[^ ]{1,100}$</regex>
+ <regex>[^ ]{1,100}$</regex>
</constraint>
<constraintErrorMessage>interface description is too long (limit 100 characters)</constraintErrorMessage>
</properties>
@@ -71,7 +71,7 @@
<properties>
<help>peer alias</help>
<constraint>
- <regex>.[^ ]{1,100}$</regex>
+ <regex>[^ ]{1,100}$</regex>
</constraint>
<constraintErrorMessage>peer alias too long (limit 100 characters)</constraintErrorMessage>
</properties>