Make libvirt-style access control work when only doing RA.

This commit is contained in:
Simon Kelley
2012-05-21 20:54:19 +01:00
parent 18c63eff8f
commit 8767ceecd4
2 changed files with 2 additions and 2 deletions

View File

@@ -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;