mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
don't try to add bogus addresses then remove them again + small fixes and REMOVE DEBUG PRINT_R
git-svn-id: http://www.observium.org/svn/observer/trunk@3007 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -143,7 +143,8 @@ foreach ($port_stats as $ifIndex => $port)
|
||||
$ports[$ifIndex]['deleted'] = "0";
|
||||
}
|
||||
} else {
|
||||
if($ports[$port['ifIndex']]['deleted'] != "1") {
|
||||
if ($ports[$port['ifIndex']]['deleted'] != "1")
|
||||
{
|
||||
dbUpdate(array('deleted' => '1'), 'ports', '`interface_id` = ?', array($ports[$ifIndex]['interface_id']));
|
||||
$ports[$ifIndex]['deleted'] = "1";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user