Commit 2021c662 authored by Simon Kelley's avatar Simon Kelley

code-size tweak

parent 8358e0f4
...@@ -1209,13 +1209,9 @@ void clear_cache_and_reload(time_t now) ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment