diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-22 22:29:35 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-22 22:29:59 +0100 |
commit | 81f67ca2bcf016ca7a0e021016d8945fc2e11002 (patch) | |
tree | 170ba965c555e7f82a9ff59fabbe8964184fbfe3 | |
parent | cfb2786fde8c17c2a105e1045ed273775c5eb473 (diff) | |
download | vyos-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.
-rw-r--r-- | interface-definitions/interfaces-wireguard.xml.in | 2 |
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> |