diff options
author | Ermal <eri@pfsense.org> | 2010-11-12 23:51:15 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-11-12 23:51:15 +0000 |
commit | 21699e76426d034ab44b6a8166e55024bee97dc8 (patch) | |
tree | 1f14bf0ea390d953688b8be4253329a93d23d266 /etc/inc | |
parent | 83fcd140dd10ba7396b37693d83f304429a6e5ad (diff) | |
download | pfsense-21699e76426d034ab44b6a8166e55024bee97dc8.zip pfsense-21699e76426d034ab44b6a8166e55024bee97dc8.tar.gz |
Fix test for altq on vlans and wlan.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index bffb152..34f2b4a 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -3281,9 +3281,9 @@ function is_altq_capable($int) { if (in_array($int_family[0], $capable)) return true; - else if (stristr($int_family, "vlan")) /* VLANs are name $parent_$vlan now */ + else if (stristr($int, "vlan")) /* VLANs are name $parent_$vlan now */ return true; - else if (stristr($int_family, "_wlan")) /* WLANs are name $parent_$wlan now */ + else if (stristr($int, "_wlan")) /* WLANs are name $parent_$wlan now */ return true; else return false; |