code-size tweak

This commit is contained in:
Simon Kelley
2012-05-07 16:43:21 +01:00
parent 8358e0f4b2
commit 2021c66251

View File

@@ -1209,13 +1209,9 @@ void clear_cache_and_reload(time_t now)
}
#ifdef HAVE_DHCP6
else if (daemon->ra_contexts)
{
/* Not doing DHCP, so no lease system, manage
alarms for ra only */
time_t next_event = periodic_ra(now);
if (next_event != 0)
alarm((unsigned)difftime(next_event, now));
}
send_alarm(periodic_ra(now), now);
#endif
#endif
}