mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix periodic loop
This commit is contained in:
@@ -596,7 +596,13 @@ void dhcp_construct_contexts(time_t now)
|
||||
}
|
||||
|
||||
if (param.newone)
|
||||
lease_update_file(now);
|
||||
{
|
||||
if (daemon->dhcp || daemon->doing_dhcp6)
|
||||
lease_update_file(now);
|
||||
else
|
||||
/* Not doing DHCP, so no lease system, manage alarms for ra only */
|
||||
send_alarm(periodic_ra(now), now);
|
||||
}
|
||||
}
|
||||
|
||||
static int join_multicast_worker(struct in6_addr *local, int prefix,
|
||||
|
||||
Reference in New Issue
Block a user