diff --git a/html/graph-realtime.php b/html/graph-realtime.php index 66d80194e5..73e60edca2 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']; }