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 #ifdef HAVE_DHCP6
else if (daemon->ra_contexts) else if (daemon->ra_contexts)
{
/* Not doing DHCP, so no lease system, manage /* Not doing DHCP, so no lease system, manage
alarms for ra only */ alarms for ra only */
time_t next_event = periodic_ra(now); send_alarm(periodic_ra(now), now);
if (next_event != 0)
alarm((unsigned)difftime(next_event, now));
}
#endif #endif
#endif #endif
} }