mirror of
https://github.com/safing/portmaster
synced 2025-09-02 18:49:14 +00:00
Fix failing build by updating firewall package to new function name
This commit is contained in:
parent
d825a9cc83
commit
9da2ba25cb
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ func filterDNSResponse(conn *network.Connection, rrCache *resolver.RRCache) *res
|
||||||
// If all entries are filtered, this could mean that these are broken/bogus resource records.
|
// If all entries are filtered, this could mean that these are broken/bogus resource records.
|
||||||
if rrCache.Expired() {
|
if rrCache.Expired() {
|
||||||
// If the entry is expired, force delete it.
|
// If the entry is expired, force delete it.
|
||||||
err := resolver.DeleteNameRecord(rrCache.Domain, rrCache.Question.String())
|
err := resolver.ResetCachedRecord(rrCache.Domain, rrCache.Question.String())
|
||||||
if err != nil && err != database.ErrNotFound {
|
if err != nil && err != database.ErrNotFound {
|
||||||
log.Warningf(
|
log.Warningf(
|
||||||
"filter: failed to delete fully filtered name cache for %s: %s",
|
"filter: failed to delete fully filtered name cache for %s: %s",
|
||||||
|
|
Loading…
Add table
Reference in a new issue