summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-07 10:10:18 +0545
committerStephen Beaver <sbeaver@netgate.com>2016-01-06 23:32:27 -0500
commit3253083680fd9c20893726e855b935c3a264d9e1 (patch)
tree40e79a3fd0fe06c58c4811b8a9393f823a606e68 /src/usr
parentb93bb38c8c8e9b35d14df2afe1d671ecaa3839ac (diff)
downloadpfsense-3253083680fd9c20893726e855b935c3a264d9e1.zip
pfsense-3253083680fd9c20893726e855b935c3a264d9e1.tar.gz
firewall_shaper_vinterface URL reference
As far as I can see this URL should be self-referring - to firewall_shaper_vinterface.php But I am having trouble finding how to test it, because whenever $pipe is set, so is $queue so I never get down the "else". Anyway, this seems an obvious fix, and there might be other stuff related to when creating a limiter as distinct from a queue inside that limiter.
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/firewall_shaper_vinterface.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_shaper_vinterface.php b/src/usr/local/www/firewall_shaper_vinterface.php
index e888606..41f5c32 100644
--- a/src/usr/local/www/firewall_shaper_vinterface.php
+++ b/src/usr/local/www/firewall_shaper_vinterface.php
@@ -438,7 +438,7 @@ if ($dfltmsg) {
if ($queue) {
$url = 'firewall_shaper_vinterface.php?pipe=' . $pipe . '&queue=' . $queue->GetQname() . '&action=add';
} else {
- $url = 'firewall_shaper.php?pipe='. $pipe . '&action=add';
+ $url = 'firewall_shaper_vinterface.php?pipe='. $pipe . '&action=add';
}
$sform->addGlobal(new Form_Button(
@@ -462,7 +462,7 @@ if ($dfltmsg) {
}
// Print the form
- if($sform) {
+ if ($sform) {
$sform->setAction("firewall_shaper_vinterface.php");
print($sform);
}
OpenPOWER on IntegriCloud