mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Thanks to f0o for this fix. Bye bye issue #202
This commit is contained in:
@ -43,7 +43,8 @@ header("Content-type: image/svg+xml");
|
|||||||
|
|
||||||
/********** HTTP GET Based Conf ***********/
|
/********** HTTP GET Based Conf ***********/
|
||||||
$ifnum=@$port['ifIndex']; // BSD / SNMP interface name / number
|
$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']);
|
$hostname=shorthost($device['hostname']);
|
||||||
|
|
||||||
if($_GET['title']) { $ifname = $_GET['title']; }
|
if($_GET['title']) { $ifname = $_GET['title']; }
|
||||||
|
Reference in New Issue
Block a user