Merge pull request #203 from toyowheelin/issue-202

Thanks to f0o for this fix. Bye bye issue #202
This commit is contained in:
Paul Gear
2014-03-29 09:24:50 +10:00

View File

@@ -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']; }