summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-07 12:39:08 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-07 12:39:08 +0000
commit0ea02417f950a6ffdbe58b5ee9a25c4c96f15f6e (patch)
tree0c78001f7e02de5bf01c725051e4a70d4008ec29 /etc/inc
parent06f76635994fe85ede6e8d4112471d6a1b00f52e (diff)
downloadpfsense-0ea02417f950a6ffdbe58b5ee9a25c4c96f15f6e.zip
pfsense-0ea02417f950a6ffdbe58b5ee9a25c4c96f15f6e.tar.gz
Do not parse vlans
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 6f41662..396372e 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1060,10 +1060,11 @@ function setup_polling() {
foreach($supported_ints as $supported_int) {
if(stristr($real_interface, $supported_int)) {
$supported = true;
+ continue;
}
- if (stristr($real_interface, "vlan")) {
- $supported = false;
- }
+ }
+ if (stristr($real_interface, "vlan")) {
+ $supported = false;
}
if ($supported == true) {
mwexec("/sbin/ifconfig {$real_interface} polling");
OpenPOWER on IntegriCloud