diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-07 12:39:08 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-07 12:39:08 +0000 |
commit | 0ea02417f950a6ffdbe58b5ee9a25c4c96f15f6e (patch) | |
tree | 0c78001f7e02de5bf01c725051e4a70d4008ec29 /etc/inc | |
parent | 06f76635994fe85ede6e8d4112471d6a1b00f52e (diff) | |
download | pfsense-0ea02417f950a6ffdbe58b5ee9a25c4c96f15f6e.zip pfsense-0ea02417f950a6ffdbe58b5ee9a25c4c96f15f6e.tar.gz |
Do not parse vlans
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 7 |
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"); |