mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-18 11:09:36 +00:00
Fix problems when advertising deleted IPv6 prefixes.
This commit is contained in:
1 parent
32b4e4cb7c
commit
dd9d9ce54c
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user