mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Small fix to ff43d35aee
This commit is contained in:
12
src/cache.c
12
src/cache.c
@@ -2059,7 +2059,12 @@ void log_query(unsigned int flags, char *name, union all_addr *addr, char *arg,
|
|||||||
}
|
}
|
||||||
else if (flags & F_AUTH)
|
else if (flags & F_AUTH)
|
||||||
source = "auth";
|
source = "auth";
|
||||||
else if (flags & F_SERVER)
|
else if (flags & F_DNSSEC)
|
||||||
|
{
|
||||||
|
source = arg;
|
||||||
|
verb = "to";
|
||||||
|
}
|
||||||
|
else if (flags & F_SERVER)
|
||||||
{
|
{
|
||||||
source = "forwarded";
|
source = "forwarded";
|
||||||
verb = "to";
|
verb = "to";
|
||||||
@@ -2069,11 +2074,6 @@ void log_query(unsigned int flags, char *name, union all_addr *addr, char *arg,
|
|||||||
source = arg;
|
source = arg;
|
||||||
verb = "from";
|
verb = "from";
|
||||||
}
|
}
|
||||||
else if (flags & F_DNSSEC)
|
|
||||||
{
|
|
||||||
source = arg;
|
|
||||||
verb = "to";
|
|
||||||
}
|
|
||||||
else if (flags & F_IPSET)
|
else if (flags & F_IPSET)
|
||||||
{
|
{
|
||||||
source = type ? "ipset add" : "nftset add";
|
source = type ? "ipset add" : "nftset add";
|
||||||
|
|||||||
Reference in New Issue
Block a user