summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-11-12 23:51:15 +0000
committerErmal <eri@pfsense.org>2010-11-12 23:51:15 +0000
commit21699e76426d034ab44b6a8166e55024bee97dc8 (patch)
tree1f14bf0ea390d953688b8be4253329a93d23d266
parent83fcd140dd10ba7396b37693d83f304429a6e5ad (diff)
downloadpfsense-21699e76426d034ab44b6a8166e55024bee97dc8.zip
pfsense-21699e76426d034ab44b6a8166e55024bee97dc8.tar.gz
Fix test for altq on vlans and wlan.
-rw-r--r--etc/inc/interfaces.inc4
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;
OpenPOWER on IntegriCloud