Skip to content

Commit

Permalink
Merge pull request librenms#203 from toyowheelin/issue-202
Browse files Browse the repository at this point in the history
Thanks to f0o for this fix. Bye bye issue librenms#202
  • Loading branch information
paulgear committed Mar 28, 2014
2 parents c704553 + 93f3f20 commit 5e4ca7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html/graph-realtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@

/********** 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']; }
Expand Down

0 comments on commit 5e4ca7e

Please sign in to comment.