Make RA without DHCPv6 possible.

This commit is contained in:
Simon Kelley committed 2012-02-27 17:42:38 +00:00
1 parent 58dc02ebf2
commit 843c96b4b3
8 files changed
+168 -123

No files matched your search

+1 -1
View File
@@ -343,7 +343,7 @@ static void nl_routechange(struct nlmsghdr *h)
#ifdef HAVE_DHCP6
/* force RAs to sync new network and pick up new interfaces. */
if (option_bool(OPT_RA))
if (daemon->ra_contexts)
{
ra_start_unsolicted(dnsmasq_time());
/* cause lease_update_file to run after we return, in case we were called from