mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix some things
git-svn-id: http://www.observium.org/svn/observer/trunk@2351 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -285,9 +285,14 @@ if (is_array($ospf_nbrs_db))
|
||||
|
||||
if ($ospf_nbr_db['interface_id'] != $ospf_nbr_poll['interface_id'])
|
||||
{
|
||||
$ospf_nbr_update = " ";
|
||||
if($ospf_nbr_poll['interface_id']) {
|
||||
$ospf_nbr_update = array('interface_id' => $ospf_nbr_poll['interface_id']);
|
||||
} else {
|
||||
$ospf_nbr_update = array('interface_id' => array('NULL'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
foreach ($ospf_nbr_oids as $oid)
|
||||
{ // Loop the OIDs
|
||||
if ($debug) { echo($ospf_nbr_db[$oid]."|".$ospf_nbr_poll[$oid]."\n"); }
|
||||
|
||||
Reference in New Issue
Block a user