Fixed interfaces descriptions for multiport_bits_separate graphs type (#15893)

This commit is contained in:
dmbokhan
2024-03-12 00:52:29 +03:00
committed by GitHub
parent d3f4fcfd30
commit 2928b51c3d

View File

@@ -9,8 +9,8 @@ foreach (explode(',', $vars['id']) as $ifid) {
$port = cleanPort($port);
$rrd_list[$i]['filename'] = $rrd_file;
$rrd_list[$i]['descr'] = format_hostname($port) . ' ' . $port['ifDescr'];
$rrd_list[$i]['descr_in'] = format_hostname($port);
$rrd_list[$i]['descr_out'] = makeshortif($port['label']);
$rrd_list[$i]['descr_in'] = format_hostname($port) . ' ' . makeshortif($port['label']);
$rrd_list[$i]['descr_out'] = format_hostname($port) . ' ' . makeshortif($port['label']);
$i++;
}
}