Merge pull request #248 from safing/fix/firewall-build

Fix failing build by updating firewall package to new function name
This commit is contained in:
Daniel 2021-02-05 11:25:58 +01:00 committed by GitHub
commit 3caee5a8c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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",