Skip to content

Commit

Permalink
interfaces: avoid mismatching openconnect and wireguard nodes
Browse files Browse the repository at this point in the history
(cherry picked from commit b26ae32)
(cherry picked from commit 865c3d6)
  • Loading branch information
fichtner committed Sep 7, 2018
1 parent 5ebc84b commit 7393702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/console.inc
Expand Up @@ -57,7 +57,7 @@ function is_interface_mismatch()
/* Do not mismatch if any lock was issued */
$mismatch = false;
break;
} elseif (preg_match('/^enc|^cua|^tun|^tap|^l2tp|^pptp|^ppp|^ovpn|^tinc|^gif|^gre|^lagg|^bridge|vlan|_wlan|_stf/i', $ifcfg['if'])) {
} elseif (preg_match('/^enc|^cua|^tun|^tap|^l2tp|^pptp|^ppp|^ovpn|^ocvpn|^tinc|^wg|^gif|^gre|^lagg|^bridge|vlan|_wlan|_stf/i', $ifcfg['if'])) {
/* Do not check these interfaces */
continue;
} elseif (does_interface_exist($ifcfg['if']) == false) {
Expand Down

0 comments on commit 7393702

Please sign in to comment.