From d523215bd2c82b468f35c238d0762ce461d78cea Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 8 Sep 2011 17:48:52 +0000 Subject: Show friendly interface names --- etc/inc/shaper.inc | 4 ++-- 1 file 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 = ""; - $form .= "GetInterface() . "&queue=". $this->GetInterface()."&action=show\">".$this->GetInterface().": ".$scheduler.""; + $form .= "GetInterface() . "&queue=". $this->GetInterface()."&action=show\">". $shaperIFlist[$this->GetInterface()] .": ".$scheduler.""; $form .= ""; $form .= ""; $form .= ""; @@ -1196,7 +1196,7 @@ class priq_queue { if ($altq) $scheduler = ": " . $altq->GetScheduler(); $form = ""; - $form .= "GetInterface() . "&queue=" . $this->GetInterface()."&action=show\">".$this->GetInterface().": ".$scheduler.""; + $form .= "GetInterface() . "&queue=" . $this->GetInterface()."&action=show\">". $shaperIFlist[$this->GetInterface()] .": ".$scheduler.""; $form .= ""; /* * XXX: Hack in sight maybe fix with a class that wraps all -- cgit v1.1