commit | dd9d9ce54c46b0e110f71f8cb19934bd2e8ae656 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Fri Nov 15 11:24:00 2013 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Fri Nov 15 11:24:00 2013 +0000 |
tree | be93ccfae8cee6eabb8deb7ad98053727b33f889 | |
parent | 32b4e4cb7c48638c62dc0865dbf86e584e620a6b [diff] [blame] |
Fix problems when advertising deleted IPv6 prefixes.
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 @@ 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