summaryrefslogtreecommitdiff
path: root/interface-definitions/wireguard.xml
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-11-03 14:11:51 -0700
committerhagbard <vyosdev@derith.de>2018-11-03 14:17:29 -0700
commitd6c39f624a2ced96015d1e915d90e80acda3babb (patch)
treececd0cf3adc33bf6ec7d9ed0aa3ba679c087237b /interface-definitions/wireguard.xml
parent2ad8fa385cefa1acbe75b8ca22a4183b00edf7de (diff)
downloadvyos-1x-d6c39f624a2ced96015d1e915d90e80acda3babb.tar.gz
vyos-1x-d6c39f624a2ced96015d1e915d90e80acda3babb.zip
T958: Problems with wireguard description
Diffstat (limited to 'interface-definitions/wireguard.xml')
-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>