diff checks.c.old checks.c.new 2439,2440c2439,2444 < if(temp_host->freshness_threshold==0) < freshness_threshold=(temp_host->check_interval*interval_length)+temp_host->latency+additional_freshness_latency; --- > if(temp_host->freshness_threshold==0){ > if(temp_host->state_type==HARD_STATE || temp_host->current_state==STATE_OK) > freshness_threshold=(temp_host->check_interval*interval_length)+temp_host->latency+additional_freshness_latency; > else > freshness_threshold=(temp_host->retry_interval*interval_length)+temp_host->latency+additional_freshness_latency; > }