mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add QinQ interfaces to the list of interfaces not to check (Bug #4669)
This commit is contained in:
parent
2b359eda6d
commit
5ec2eb9bbc
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user