mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-26 12:24:42 +00:00
Linked-list bug in new "use longest prefixes first" code.
This commit is contained in:
1 parent
34d0a36a1d
commit
b456b9fdfe
1 file changed
+2
@@ -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