mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-08 16:11:30 +00:00
Allow constructed ranges from interface address at end of range.
Also make man page on this clearer, as it's been confusing many.
This commit is contained in:
1 parent
0da5e8979b
commit
429805dbbc
2 files changed
+13
-2
No files matched your search
+3
-1
@@ -538,7 +538,9 @@ static int construct_worker(struct in6_addr *local, int prefix,
|
||||
}
|
||||
|
||||
}
|
||||
else if (addr6part(local) == addr6part(&template->start6) && wildcard_match(template->template_interface, ifrn_name))
|
||||
else if ((addr6part(local) == addr6part(&template->start6) ||
|
||||
addr6part(local) == addr6part(&template->end6)) &&
|
||||
wildcard_match(template->template_interface, ifrn_name))
|
||||
{
|
||||
start6 = *local;
|
||||
setaddr6part(&start6, addr6part(&template->start6));
|
||||
|
||||
Reference in new issue
Block a user