summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-22 22:29:35 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-22 22:29:59 +0100
commit81f67ca2bcf016ca7a0e021016d8945fc2e11002 (patch)
tree170ba965c555e7f82a9ff59fabbe8964184fbfe3 /interface-definitions
parentcfb2786fde8c17c2a105e1045ed273775c5eb473 (diff)
downloadvyos-1x-81f67ca2bcf016ca7a0e021016d8945fc2e11002.tar.gz
vyos-1x-81f67ca2bcf016ca7a0e021016d8945fc2e11002.zip
wireguard: remove artifical limitation on interface numbers
Interface name hould be allowed to exceed wg9999 - there is no reason to limit this.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index 706af7273..bbe9a5d03 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -8,7 +8,7 @@
<priority>459</priority>
<!-- subsequent ones may be removed, just make sure ethernet ifs are present -->
<constraint>
- <regex>wg[0-9]{1,4}</regex>
+ <regex>wg[0-9]+$</regex>
</constraint>
<constraintErrorMessage>illegal interface name</constraintErrorMessage>
<valueHelp>