mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-10 16:31:00 +00:00
Small fix to ff43d35aee
This commit is contained in:
1 file changed
+6
-6
+6
-6
@@ -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