summaryrefslogtreecommitdiff
path: root/src/netlink.c
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2012-02-27 17:42:38 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2012-02-27 17:42:38 +0000
commit843c96b4b39d36ea4f1df6249d37fda3c68ae614 (patch)
tree176d621d42515ba346064a093962db507ae21a9d /src/netlink.c
parent58dc02ebf20937456e0499398afe23615f8fdff8 (diff)
downloaddnsmasq-843c96b4b39d36ea4f1df6249d37fda3c68ae614.tar.gz
Make RA without DHCPv6 possible.
Diffstat (limited to 'src/netlink.c')
-rw-r--r--src/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netlink.c b/src/netlink.c
index a8cea33..993c1f9 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -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