mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Trivial format fix
This commit is contained in:
@@ -513,7 +513,8 @@ static size_t process_reply(struct dns_header *header, time_t now, struct server
|
|||||||
char *matchstart = daemon->namebuff + namelen - domainlen;
|
char *matchstart = daemon->namebuff + namelen - domainlen;
|
||||||
if (namelen >= domainlen && hostname_isequal(matchstart, ipset_pos->domain) &&
|
if (namelen >= domainlen && hostname_isequal(matchstart, ipset_pos->domain) &&
|
||||||
(domainlen == 0 || namelen == domainlen || *(matchstart - 1) == '.' ) &&
|
(domainlen == 0 || namelen == domainlen || *(matchstart - 1) == '.' ) &&
|
||||||
domainlen >= matchlen) {
|
domainlen >= matchlen)
|
||||||
|
{
|
||||||
matchlen = domainlen;
|
matchlen = domainlen;
|
||||||
sets = ipset_pos->sets;
|
sets = ipset_pos->sets;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user