mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-11 16:40:27 +00:00
Missed interface re-read path in netlink.c
This commit is contained in:
1 parent
c1be917782
commit
293fd0f700
1 file changed
+7
-1
+7
-1
@@ -207,6 +207,7 @@ int iface_enumerate(int family, void *parm, int (*callback)())
|
|||||||
enumerate_interfaces();
|
enumerate_interfaces();
|
||||||
create_bound_listeners(0);
|
create_bound_listeners(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_DHCP6
|
#ifdef HAVE_DHCP6
|
||||||
if (daemon->doing_dhcp6 || daemon->doing_ra)
|
if (daemon->doing_dhcp6 || daemon->doing_ra)
|
||||||
dhcp_construct_contexts(now);
|
dhcp_construct_contexts(now);
|
||||||
@@ -353,8 +354,13 @@ void netlink_multicast(time_t now)
|
|||||||
enumerate_interfaces();
|
enumerate_interfaces();
|
||||||
create_bound_listeners(0);
|
create_bound_listeners(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_DHCP6
|
#ifdef HAVE_DHCP6
|
||||||
dhcp_construct_contexts(now);
|
if (daemon->doing_dhcp6 || daemon->doing_ra)
|
||||||
|
dhcp_construct_contexts(now);
|
||||||
|
|
||||||
|
if (daemon->doing_dhcp6)
|
||||||
|
lease_find_interfaces(now);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user