summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-05-23 15:47:08 -0400
committerjim-p <jimp@pfsense.org>2012-05-23 15:47:08 -0400
commitbd4c21fe576704bb94270589f5387986e35e08ae (patch)
tree8cb114fecb49b2a9dedf54b94b6e13d2ee188dac
parentb45d6db6c42025678b964a0e94c978ba2939f4df (diff)
downloadpfsense-bd4c21fe576704bb94270589f5387986e35e08ae.zip
pfsense-bd4c21fe576704bb94270589f5387986e35e08ae.tar.gz
Don't skip "lan" as a possible WAN for shaper, since someone could have renamed/repurposed it. Someone may shoot themselves in the foot if they pick it accidentally, but otherwise some valid configs may be prevented accidentally.
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index 52bca5e..a77ba09 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -55,8 +55,6 @@ function step2_stepbeforeformdisplay() {
foreach ($iflisttmp as $if => $ifdesc) {
if (!is_altq_capable(get_real_interface($if)))
continue;
- if ($if == "lan")
- continue;
$numberofinterfaces++;
$iflist[$if] = $ifdesc;
}
OpenPOWER on IntegriCloud