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:48:52 +0000
commit7c7d856ccb77c81cac41d1aecebe132107b1942c (patch)
tree09bd33c423a1e7707f36327d11ffc72b44451ef0
parent7bc6d62b7e21573dff4fa0c84bcbe446dc652c76 (diff)
downloadpfsense-7c7d856ccb77c81cac41d1aecebe132107b1942c.zip
pfsense-7c7d856ccb77c81cac41d1aecebe132107b1942c.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 204932b..861fa4a 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