From 93f3f20238d3bf36732f42fdaadc9d3e324ad60c Mon Sep 17 00:00:00 2001 From: Greg Date: Mon, 17 Mar 2014 13:18:25 -0700 Subject: [PATCH] Thanks to f0o for this fix. Bye bye issue #202 --- html/graph-realtime.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/graph-realtime.php b/html/graph-realtime.php index 66d80194e..73e60edca 100755 --- a/html/graph-realtime.php +++ b/html/graph-realtime.php @@ -43,7 +43,8 @@ header("Content-type: image/svg+xml"); /********** HTTP GET Based Conf ***********/ $ifnum=@$port['ifIndex']; // BSD / SNMP interface name / number -$ifname=@$port['ifDescr']; //Interface name that will be showed on top right of graph +$ifname=ifLabel($port); +$ifname=$ifname['label']; //Interface name that will be showed on top right of graph $hostname=shorthost($device['hostname']); if($_GET['title']) { $ifname = $_GET['title']; }