mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-04 16:12:20 +02: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