mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add some missing interface types in is_interface_mismatch() and get_interface_list()'s $vfaces. Fixes #2384
This commit is contained in:
parent
a6aedcd141
commit
fd863e5ceb
@ -823,6 +823,9 @@ function get_interface_list($mode = "active", $keyby = "physical", $vfaces = "")
|
||||
'pfsync',
|
||||
'enc',
|
||||
'tun',
|
||||
'tap',
|
||||
'ovpns',
|
||||
'ovpnc',
|
||||
'carp',
|
||||
'lagg',
|
||||
'vip',
|
||||
@ -1446,7 +1449,7 @@ function is_interface_mismatch() {
|
||||
$i = 0;
|
||||
if (is_array($config['interfaces'])) {
|
||||
foreach ($config['interfaces'] as $ifname => $ifcfg) {
|
||||
if (preg_match("/^enc|^cua|^tun|^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/i", $ifcfg['if'])) {
|
||||
// Do not check these interfaces.
|
||||
$i++;
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user