mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-04-01 06:53:30 +03:00
filtering: imp code
This commit is contained in:
parent
d9a01c8fa6
commit
8dffd94a3b
1 changed files with 3 additions and 1 deletions
|
@ -462,7 +462,9 @@ func (d *DNSFilter) handleCheckHost(w http.ResponseWriter, r *http.Request) {
|
|||
setts.ClientIP = addr
|
||||
d.ApplyAdditionalFiltering(addr, "", setts)
|
||||
} else if cli != "" {
|
||||
setts.ClientName = cli
|
||||
// TODO(s.chzhen): Set [Settings.ClientName] once urlfilter supports
|
||||
// multiple client names. This will handle the case when a rule exists
|
||||
// but the persistent client does not.
|
||||
d.ApplyAdditionalFiltering(netip.Addr{}, cli, setts)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue