mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Also added the ifAdmin check to next if statement
This commit is contained in:
@@ -258,7 +258,7 @@ foreach ($ports as $port)
|
||||
$port['update'][$oid] = NULL;
|
||||
log_event($oid . ": ".$port[$oid]." -> NULL", $device, 'interface', $port['port_id']);
|
||||
if ($debug) { echo($oid . ": ".$port[$oid]." -> NULL "); } else { echo($oid . " "); }
|
||||
} elseif ($port[$oid] != $this_port[$oid]) {
|
||||
} elseif ($port[$oid] != $this_port[$oid] && $this_port['ifAdminStatus'] != 'down') {
|
||||
$port['update'][$oid] = $this_port[$oid];
|
||||
log_event($oid . ": ".$port[$oid]." -> " . $this_port[$oid], $device, 'interface', $port['port_id']);
|
||||
if ($debug) { echo($oid . ": ".$port[$oid]." -> " . $this_port[$oid]." "); } else { echo($oid . " "); }
|
||||
|
||||
Reference in New Issue
Block a user