diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index ec7fa93..2fe055d 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1028,13 +1028,13 @@ function setup_polling() { foreach ($iflist as $ifent => $ifname) { $real_interface = convert_friendly_interface_to_real_interface_name($ifname); $supported = false; - foreach($supported_ints as $supported) { - if(stristr($real_interface, $supported)) { + foreach($supported_ints as $supported_int) { + if(stristr($real_interface, $supported_int)) { $supported = true; } - if (stristr($real_interface, "vlan")) { - $supported = false; - } + } + if (stristr($real_interface, "vlan")) { + $supported = false; } if ($supported == true) { mwexec("/sbin/ifconfig {$real_interface} polling"); |