mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Only show Eth errors when Etherlike is enabled (#14784)
This commit is contained in:
@@ -54,7 +54,7 @@ if (Rrd::checkRrdExists(get_port_rrdfile_path($device['hostname'], $port['port_i
|
||||
echo '</div></div>';
|
||||
}
|
||||
|
||||
if (Rrd::checkRrdExists(get_port_rrdfile_path($device['hostname'], $port['port_id'], 'dot3'))) {
|
||||
if (Config::get('enable_ports_etherlike') && Rrd::checkRrdExists(get_port_rrdfile_path($device['hostname'], $port['port_id'], 'dot3'))) {
|
||||
echo '<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Ethernet Errors</h3>
|
||||
|
||||
Reference in New Issue
Block a user