mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Merge pull request #1923 from pi-hole/fix/antigravity_mark
Fix antigravity not preventing further checks on queries
This commit is contained in:
@@ -1154,6 +1154,11 @@ static bool check_domain_blocked(const char *domain, const int clientID,
|
||||
// ...
|
||||
dns_cache->list_id = -1 * (list_id + 2);
|
||||
|
||||
// Mark query as allowed to prevent further checks such as CNAME
|
||||
// inspection. This ensures antigravity matches have similar effects
|
||||
// than explicitly allowed domains.
|
||||
query->flags.allowed = true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user