summaryrefslogtreecommitdiff
path: root/src/radv.c
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2013-11-15 11:24:00 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2013-11-15 11:24:00 +0000
commitdd9d9ce54c46b0e110f71f8cb19934bd2e8ae656 (patch)
treebe93ccfae8cee6eabb8deb7ad98053727b33f889 /src/radv.c
parent32b4e4cb7c48638c62dc0865dbf86e584e620a6b (diff)
downloaddnsmasq-dd9d9ce54c46b0e110f71f8cb19934bd2e8ae656.tar.gz
Fix problems when advertising deleted IPv6 prefixes.v2.68test2
Diffstat (limited to 'src/radv.c')
-rw-r--r--src/radv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radv.c b/src/radv.c
index 88395db..22c2d1f 100644
--- a/src/radv.c
+++ b/src/radv.c
@@ -597,7 +597,7 @@ time_t periodic_ra(time_t now)
if ((context->flags & CONTEXT_OLD) &&
context->if_index != 0 &&
- indextoname(daemon->icmp6fd, param.iface, param.name))
+ indextoname(daemon->icmp6fd, context->if_index, param.name))
{
/* A context for an old address. We'll not find the interface by
looking for addresses, but we know it anyway, since the context is