mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Linked-list bug in new "use longest prefixes first" code.
This commit is contained in:
@@ -236,6 +236,8 @@ static int complete_context6(struct in6_addr *local, int prefix,
|
||||
for (up = ¶m->current, tmp = param->current; tmp; tmp = tmp->current)
|
||||
if (tmp->preferred <= preferred)
|
||||
break;
|
||||
else
|
||||
up = &tmp->current;
|
||||
|
||||
context->current = *up;
|
||||
*up = context;
|
||||
|
||||
Reference in New Issue
Block a user