continue;
}
- // Check if the service will be updated for the first time.
- if ( lastupdated == 0 )
- {
- // Update for the firt time.
- Log->print_update_service_firttime(hostname, ip_dns_recheck, ip_host);
- service->update(ip_host,current_time);
-
- // Update done, go to next service
- continue;
- }
-
// We already have updated, check if the IP set in last update differs from the actual host's ip.
if ( ip_last_update != ip_host )
{