summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-10-08 12:26:54 +0000
committerErmal <eri@pfsense.org>2011-10-08 12:26:54 +0000
commit041e3190b0625e6ed3836efd77f52ceba00ae325 (patch)
treeacd969d758b7f847fb2c2f0f015a1d4d552c9717 /etc/inc/interfaces.inc
parent099e764a797146c0dc9810e8f99cd18789a8608e (diff)
downloadpfsense-041e3190b0625e6ed3836efd77f52ceba00ae325.zip
pfsense-041e3190b0625e6ed3836efd77f52ceba00ae325.tar.gz
Fixes issue with l2tp interfaces and altq
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 679e347..13a8c75 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3586,6 +3586,8 @@ function is_altq_capable($int) {
if (in_array($int_family[0], $capable))
return true;
+ else if (stristr($int, "l2tp")) /* VLANs are name $parent_$vlan now */
+ return true;
else if (stristr($int, "vlan")) /* VLANs are name $parent_$vlan now */
return true;
else if (stristr($int, "_wlan")) /* WLANs are name $parent_$wlan now */
OpenPOWER on IntegriCloud