Fix failing build by updating firewall package to new function name

This commit is contained in:
Patrick Pacher
2021-02-05 08:38:44 +01:00
parent d825a9cc83
commit 9da2ba25cb

View File

@@ -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 rrCache.Expired() {
// 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 {
log.Warningf(
"filter: failed to delete fully filtered name cache for %s: %s",