diff options
-rw-r--r-- | interface-definitions/interfaces-bridge.xml.in | 2 | ||||
-rw-r--r-- | interface-definitions/interfaces-openvpn.xml.in | 2 | ||||
-rw-r--r-- | interface-definitions/interfaces-wireguard.xml.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/interfaces-bridge.xml.in b/interface-definitions/interfaces-bridge.xml.in index a28daeba6..6e4531a7e 100644 --- a/interface-definitions/interfaces-bridge.xml.in +++ b/interface-definitions/interfaces-bridge.xml.in @@ -7,7 +7,7 @@ <help>Bridge interface name</help> <priority>470</priority> <constraint> - <regex>^br[0-9]+$</regex> + <regex>br[0-9]+$</regex> </constraint> <constraintErrorMessage>Bridge interface must be named brN</constraintErrorMessage> <valueHelp> diff --git a/interface-definitions/interfaces-openvpn.xml.in b/interface-definitions/interfaces-openvpn.xml.in index 638e9048b..88b26ebf7 100644 --- a/interface-definitions/interfaces-openvpn.xml.in +++ b/interface-definitions/interfaces-openvpn.xml.in @@ -7,7 +7,7 @@ <help>OpenVPN tunnel interface name</help> <priority>460</priority> <constraint> - <regex>^vtun[0-9]+$</regex> + <regex>vtun[0-9]+$</regex> </constraint> <constraintErrorMessage>OpenVPN tunnel interface must be named vtunN</constraintErrorMessage> <valueHelp> diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in index 6be0292a1..706af7273 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]{1,4}</regex> </constraint> <constraintErrorMessage>illegal interface name</constraintErrorMessage> <valueHelp> |