diff options
author | doktornotor <notordoktor@gmail.com> | 2017-03-10 01:18:09 +0100 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-04-03 14:51:32 -0400 |
commit | 0f29b3a047c0973ab1bb91b1382b4cb5fcdc4fd7 (patch) | |
tree | 882b2b4fc042775320dbf90da7d3b3d4d2a94e39 | |
parent | 9394d901807cc0404a5cd3152ab293bb1f1a89cf (diff) | |
download | pfsense-0f29b3a047c0973ab1bb91b1382b4cb5fcdc4fd7.zip pfsense-0f29b3a047c0973ab1bb91b1382b4cb5fcdc4fd7.tar.gz |
Add QinQ interfaces to the list of interfaces not to check (Bug #4669)
-rw-r--r-- | src/etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc index b2abfab..f67c758 100644 --- a/src/etc/inc/util.inc +++ b/src/etc/inc/util.inc @@ -2200,7 +2200,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; |