mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: ospf polling, revert set_numeric use (#5480)
* revert set_numeric use * fix
This commit is contained in:
committed by
Tony Murray
parent
01148b94f1
commit
e736dca5e9
@ -120,7 +120,7 @@ foreach ($vrfs_lite_cisco as $vrf_lite) {
|
|||||||
// Loop the OIDs
|
// Loop the OIDs
|
||||||
if ($ospf_instance_db[$device['context_name']][$oid] != $ospf_instance_poll[$oid]) {
|
if ($ospf_instance_db[$device['context_name']][$oid] != $ospf_instance_poll[$oid]) {
|
||||||
// If data has changed, build a query
|
// If data has changed, build a query
|
||||||
$ospf_instance_update[$oid] = set_numeric($ospf_instance_poll[$oid]);
|
$ospf_instance_update[$oid] = $ospf_instance_poll[$oid];
|
||||||
// log_event("$oid -> ".$this_port[$oid], $device, 'ospf', $port['port_id']); // FIXME
|
// log_event("$oid -> ".$this_port[$oid], $device, 'ospf', $port['port_id']); // FIXME
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -252,7 +252,7 @@ foreach ($vrfs_lite_cisco as $vrf_lite) {
|
|||||||
// Loop the OIDs
|
// Loop the OIDs
|
||||||
if ($ospf_port_db[$device['context_name']][$oid] != $ospf_port_poll[$oid]) {
|
if ($ospf_port_db[$device['context_name']][$oid] != $ospf_port_poll[$oid]) {
|
||||||
// If data has changed, build a query
|
// If data has changed, build a query
|
||||||
$ospf_port_update[$oid] = set_numeric($ospf_port_poll[$oid]);
|
$ospf_port_update[$oid] = $ospf_port_poll[$oid];
|
||||||
// log_event("$oid -> ".$this_port[$oid], $device, 'ospf', $port['port_id']); // FIXME
|
// log_event("$oid -> ".$this_port[$oid], $device, 'ospf', $port['port_id']); // FIXME
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -340,7 +340,7 @@ foreach ($vrfs_lite_cisco as $vrf_lite) {
|
|||||||
|
|
||||||
if ($ospf_nbr_db[$device['context_name']][$oid] != $ospf_nbr_poll[$oid]) {
|
if ($ospf_nbr_db[$device['context_name']][$oid] != $ospf_nbr_poll[$oid]) {
|
||||||
// If data has changed, build a query
|
// If data has changed, build a query
|
||||||
$ospf_nbr_update[$oid] = set_numeric($ospf_nbr_poll[$oid]);
|
$ospf_nbr_update[$oid] = $ospf_nbr_poll[$oid];
|
||||||
// log_event("$oid -> ".$this_nbr[$oid], $device, 'ospf', $nbr['port_id']); // FIXME
|
// log_event("$oid -> ".$this_nbr[$oid], $device, 'ospf', $nbr['port_id']); // FIXME
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user