Project

General

Profile

« Previous | Next » 

Revision 44fc37ee

Added by Doktor Notor over 8 years ago

Add QinQ interfaces to the list of interfaces not to check (Bug #4669)

View differences:

src/etc/inc/util.inc
2200 2200
	$missing_interfaces = array();
2201 2201
	if (is_array($config['interfaces'])) {
2202 2202
		foreach ($config['interfaces'] as $ifname => $ifcfg) {
2203
			if (preg_match("/^enc|^cua|^tun|^tap|^l2tp|^pptp|^ppp|^ovpn|^gif|^gre|^lagg|^bridge|vlan|_wlan/i", $ifcfg['if'])) {
2203
			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'])) {
2204 2204
				// Do not check these interfaces.
2205 2205
				$i++;
2206 2206
				continue;

Also available in: Unified diff