summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-03-10 01:18:09 +0100
committerGitHub <noreply@github.com>2017-03-10 01:18:09 +0100
commit5ec2eb9bbc8ed5e5b5e73cb5185b697a85dbe463 (patch)
tree2d7f2cac8e3f473a6a4a49057c9459527841bed4 /src/etc
parent2b359eda6d4d6712888a59cb5b01aeee245e34be (diff)
downloadpfsense-5ec2eb9bbc8ed5e5b5e73cb5185b697a85dbe463.zip
pfsense-5ec2eb9bbc8ed5e5b5e73cb5185b697a85dbe463.tar.gz
Add QinQ interfaces to the list of interfaces not to check (Bug #4669)
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/util.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc
index 604c557..7ebe9a7 100644
--- a/src/etc/inc/util.inc
+++ b/src/etc/inc/util.inc
@@ -2152,7 +2152,7 @@ function is_interface_mismatch() {
$missing_interfaces = array();
if (is_array($config['interfaces'])) {
foreach ($config['interfaces'] as $ifname => $ifcfg) {
- if (preg_match("/^enc|^cua|^tun|^tap|^l2tp|^pptp|^ppp|^ovpn|^gif|^gre|^lagg|^bridge|vlan|_wlan/i", $ifcfg['if'])) {
+ if (preg_match("/^enc|^cua|^tun|^tap|^l2tp|^pptp|^ppp|^ovpn|^gif|^gre|^lagg|^bridge|vlan|_wlan|_\d{0,4}_\d{0,4}$/i", $ifcfg['if'])) {
// Do not check these interfaces.
$i++;
continue;
OpenPOWER on IntegriCloud