summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-09-08 17:48:52 +0000
committerErmal <eri@pfsense.org>2011-09-08 17:49:29 +0000
commitd523215bd2c82b468f35c238d0762ce461d78cea (patch)
treea8e73f4ecaae06f6926bf37b221763a2f0bb04ec
parent21c160361dff36941812424390c10a235762b411 (diff)
downloadpfsense-d523215bd2c82b468f35c238d0762ce461d78cea.zip
pfsense-d523215bd2c82b468f35c238d0762ce461d78cea.tar.gz
Show friendly interface names
-rw-r--r--etc/inc/shaper.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc
index 539e7de..74e548b 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -587,7 +587,7 @@ class altq_root_queue {
if ($altq)
$scheduler = ": " . $altq->GetScheduler();
$form = "<tr><td width=\"20%\" class=\"vtable\">";
- $form .= "<a href=\"firewall_shaper.php?interface=" . $this->GetInterface() . "&queue=". $this->GetInterface()."&action=show\">".$this->GetInterface().": ".$scheduler."</a>";
+ $form .= "<a href=\"firewall_shaper.php?interface=" . $this->GetInterface() . "&queue=". $this->GetInterface()."&action=show\">". $shaperIFlist[$this->GetInterface()] .": ".$scheduler."</a>";
$form .= "</td></tr>";
$form .= "<tr>";
$form .= "<td width=\"50%\" class=\"vncellreq\">";
@@ -1196,7 +1196,7 @@ class priq_queue {
if ($altq)
$scheduler = ": " . $altq->GetScheduler();
$form = "<tr><td width=\"20%\" class=\"vtable\">";
- $form .= "<a href=\"firewall_shaper.php?interface=" . $this->GetInterface() . "&queue=" . $this->GetInterface()."&action=show\">".$this->GetInterface().": ".$scheduler."</a>";
+ $form .= "<a href=\"firewall_shaper.php?interface=" . $this->GetInterface() . "&queue=" . $this->GetInterface()."&action=show\">". $shaperIFlist[$this->GetInterface()] .": ".$scheduler."</a>";
$form .= "</td></tr>";
/*
* XXX: Hack in sight maybe fix with a class that wraps all
OpenPOWER on IntegriCloud