mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Merge pull request #203 from toyowheelin/issue-202
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 ***********/
|
||||
$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']; }
|
||||
|
||||
Reference in New Issue
Block a user