mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-16 10:49:34 +00:00
Make libvirt-style access control work when only doing RA.
This commit is contained in:
1 parent
18c63eff8f
commit
8767ceecd4
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -407,7 +407,7 @@ static int join_multicast_worker(struct in6_addr *local, int prefix,
|
||||
return 1;
|
||||
|
||||
/* weird libvirt-inspired access control */
|
||||
for (context = daemon->dhcp6; context; context = context->next)
|
||||
for (context = daemon->ra_contexts; context; context = context->next)
|
||||
if (!context->interface || strcmp(context->interface, ifrn_name) == 0)
|
||||
break;
|
||||
|
||||
|
||||
+1
-1
@@ -158,7 +158,7 @@ void icmp6_packet(void)
|
||||
return;
|
||||
|
||||
/* weird libvirt-inspired access control */
|
||||
for (context = daemon->dhcp6; context; context = context->next)
|
||||
for (context = daemon->ra_contexts; context; context = context->next)
|
||||
if (!context->interface || strcmp(context->interface, interface) == 0)
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user