code-size tweak
diff --git a/src/dnsmasq.c b/src/dnsmasq.c
index 34c979b..1b951f0 100644
--- a/src/dnsmasq.c
+++ b/src/dnsmasq.c
@@ -1209,13 +1209,9 @@
}
#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));
- }
+ /* Not doing DHCP, so no lease system, manage
+ alarms for ra only */
+ send_alarm(periodic_ra(now), now);
#endif
#endif
}