summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard-01 <39653662+hagbard-01@users.noreply.github.com>2018-11-08 09:17:13 -0800
committerGitHub <noreply@github.com>2018-11-08 09:17:13 -0800
commit38c17bb66683a5dcbc0f2de1753f388e083fdeca (patch)
tree9939e99821cfa3ac7960c1d84780bffc2def0d16 /interface-definitions
parent15065070b7c22709e259a6ae0cc4a27fd7b59d6b (diff)
parent30a0cc8b16f33a1539d05c289119255ca519cf8c (diff)
downloadvyos-1x-38c17bb66683a5dcbc0f2de1753f388e083fdeca.tar.gz
vyos-1x-38c17bb66683a5dcbc0f2de1753f388e083fdeca.zip
Merge pull request #56 from bswinnerton/fix-regex-for-wg-interface-descriptions
Fixes T979: Allow spaces in wireguard interface description
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/wireguard.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index 3bf7bcd33..b0923bbe0 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>