Skip to content

Commit

Permalink
Add QinQ interfaces to the list of interfaces not to check
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenw10 committed May 27, 2015
1 parent 593b078 commit 6a03a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/inc/util.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1903,7 +1903,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;
Expand Down

0 comments on commit 6a03a8c

Please sign in to comment.