$entry) { $ip = hex2ip($entry['ospfv3NbrAddress']); $ip_compressed = ip_compress($ip); if ($ip_compressed === '::') { continue; } // Try find remote device and check if already cached $remote_device_id = get_autodiscovery_device_id($device, $ip); if (is_null($remote_device_id) && // NULL - never cached in other rounds check_autodiscovery($ip)) { // Check all previous autodiscovery rounds // Neighbour never checked, try autodiscovery $port = get_port_by_index_cache($device, $entry['ospfv3NbrIfId']); $remote_device_id = autodiscovery_device($ip, NULL, 'OSPF', NULL, $device, $port); } } } // EOF