diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2012-12-18 09:14:57 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2012-12-18 18:31:11 +0000 |
commit | 293fd0f700710a7aae5161ffdd77dcbee5fb628b (patch) | |
tree | dc72f3ed0a8a889ccc9e25d597006acc1dd9524e /src/netlink.c | |
parent | c1be917782431bfaa2611beb6b54a053c29ea3b6 (diff) | |
download | dnsmasq-293fd0f700710a7aae5161ffdd77dcbee5fb628b.tar.gz |
Missed interface re-read path in netlink.c
Diffstat (limited to 'src/netlink.c')
-rw-r--r-- | src/netlink.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/netlink.c b/src/netlink.c index db575c3..1f1c658 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -207,6 +207,7 @@ int iface_enumerate(int family, void *parm, int (*callback)()) enumerate_interfaces(); create_bound_listeners(0); } + #ifdef HAVE_DHCP6 if (daemon->doing_dhcp6 || daemon->doing_ra) dhcp_construct_contexts(now); @@ -353,8 +354,13 @@ void netlink_multicast(time_t now) enumerate_interfaces(); create_bound_listeners(0); } + #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 } } |