mirror of
https://git.vectorsigma.ru/public/AdGuardHome.git
synced 2026-08-03 23:09:28 +00:00
+ client_proto
This commit is contained in:
@@ -39,6 +39,11 @@ func processQueryLogsAndStats(ctx *dnsContext) int {
|
||||
Elapsed: elapsed,
|
||||
ClientIP: getIP(d.Addr),
|
||||
}
|
||||
|
||||
if d.HTTPRequest != nil {
|
||||
p.ClientProto = "doh"
|
||||
}
|
||||
|
||||
if d.Upstream != nil {
|
||||
p.Upstream = d.Upstream.Address()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user