summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-26 00:27:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-26 00:27:08 +0000
commite295675f8ff89e9555722b8825282972e1a72e74 (patch)
tree5539708daa59fa566c1c6ad2fbc0d767abc0b496 /usr/local/www/firewall_shaper.php
parent59f6fb8ed81682fa614bd5c33154b3a854a34bec (diff)
downloadpfsense-e295675f8ff89e9555722b8825282972e1a72e74.zip
pfsense-e295675f8ff89e9555722b8825282972e1a72e74.tar.gz
MFC
Shaper fixes from BillM
Diffstat (limited to 'usr/local/www/firewall_shaper.php')
-rwxr-xr-xusr/local/www/firewall_shaper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index 6c14c8f..60e8363 100755
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -259,7 +259,8 @@ include("head.inc");
$iflabels = array('lan' => 'LAN', 'wan' => 'WAN', 'pptp' => 'PPTP');
for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++)
$iflabels['opt' . $j] = $config['interfaces']['opt' . $j]['descr'];
- echo $textss . htmlspecialchars($iflabels[$shaperent['interface']]);
+ echo $textss . htmlspecialchars($iflabels[$shaperent['in-interface']]) . "->" . htmlspecialchars($iflabels[$shaperent['out-interface']]);
+
echo "<br>";
echo "<a href=\"?act=toggle&id={$i}\">";
if ($shaperent['direction'] == "in")
OpenPOWER on IntegriCloud