all: upd chlog

This commit is contained in:
Stanislav Chzhen 2024-04-11 14:22:58 +03:00
parent 525ac91977
commit 97ab71284e
2 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
### Fixed
- Ignoring query log for clients with ClientID set ([#5812]).
- Subdomains of `in-addr.arpa` and `ip6.arpa` containing zero-length prefix
incorrectly considered invalid when specified for private RDNS upstream
servers ([#6854]).
@ -36,6 +37,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
([#6875]).
[#5345]: https://github.com/AdguardTeam/AdGuardHome/issues/5345
[#5812]: https://github.com/AdguardTeam/AdGuardHome/issues/5812
[#6854]: https://github.com/AdguardTeam/AdGuardHome/issues/6854
[#6875]: https://github.com/AdguardTeam/AdGuardHome/issues/6875

View File

@ -31,7 +31,8 @@ func (s *Server) processQueryLogsAndStats(dctx *dnsContext) (rc resultCode) {
ids := []string{ipStr}
if dctx.clientID != "" {
// Use the ClientID first because it has a higher priority.
// Use the ClientID first because it has a higher priority. Filters
// have the same priority, see applyAdditionalFiltering.
ids = []string{dctx.clientID, ipStr}
}