mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-27 20:58:36 +00:00
Remove nested struct/union in cache records and all_addr.
This commit is contained in:
23 files changed
+336
-335
No files matched your search
+1
-1
@@ -371,7 +371,7 @@ static int complete_context6(struct in6_addr *local, int prefix,
|
||||
}
|
||||
|
||||
for (relay = daemon->relay6; relay; relay = relay->next)
|
||||
if (IN6_ARE_ADDR_EQUAL(local, &relay->local.addr.addr6) && relay->current == relay &&
|
||||
if (IN6_ARE_ADDR_EQUAL(local, &relay->local.addr6) && relay->current == relay &&
|
||||
(IN6_IS_ADDR_UNSPECIFIED(¶m->relay_local) || IN6_ARE_ADDR_EQUAL(local, ¶m->relay_local)))
|
||||
{
|
||||
relay->current = param->relay;
|
||||
|
||||
Reference in new issue
Block a user