From 761ccab29c90acb91da1ec814d32c693c0bfdcec Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sat, 27 May 2017 16:31:46 +0200 Subject: [PATCH] is_interface_mismatch() add tinc interfaces to skip list --- src/etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index b6a6ae432..725a885a1 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -5067,7 +5067,7 @@ function is_interface_mismatch() if (isset($config['interfaces'])) { foreach (legacy_config_get_interfaces(array("virtual" => false)) 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|^tinc|^gif|^gre|^lagg|^bridge|vlan|_wlan/i", $ifcfg['if'])) { /* Do not check these interfaces */ continue; } elseif (does_interface_exist($ifcfg['if']) == false) {