mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Fix breakage in DBus FilterA and FilterAAAA methods.
In generalising the RR filter code, the Dbus methods controlling filtering A and AAAA records got severely broken. This, and the previous commit, fixes things.
This commit is contained in:
@@ -119,7 +119,7 @@ int rr_on_list(struct rrlist *list, unsigned short rr)
|
||||
{
|
||||
while (list)
|
||||
{
|
||||
if (list->rr == rr)
|
||||
if (list->rr != 0 && list->rr == rr)
|
||||
return 1;
|
||||
|
||||
list = list->next;
|
||||
|
||||
Reference in New Issue
Block a user