From 08b025c1b81e8bc14b3b6bcd5493fa90135ee083 Mon Sep 17 00:00:00 2001 From: electrocret Date: Tue, 24 Jan 2023 11:31:34 -0600 Subject: [PATCH] Only show Eth errors when Etherlike is enabled (#14784) --- includes/html/pages/device/port/graphs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/html/pages/device/port/graphs.inc.php b/includes/html/pages/device/port/graphs.inc.php index af917fef57..cb8288d3e0 100644 --- a/includes/html/pages/device/port/graphs.inc.php +++ b/includes/html/pages/device/port/graphs.inc.php @@ -54,7 +54,7 @@ if (Rrd::checkRrdExists(get_port_rrdfile_path($device['hostname'], $port['port_i echo ''; } - 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 '

Ethernet Errors