mirror of
https://github.com/safing/portmaster
synced 2025-09-09 13:54:52 +00:00
Implement review suggestions
This commit is contained in:
parent
ee9ee3dc68
commit
6233c76778
6 changed files with 9 additions and 9 deletions
|
@ -190,7 +190,7 @@ func checkCache(ctx context.Context, q *Query) *RRCache {
|
|||
|
||||
// Check if we want to reset the cache for this entry.
|
||||
if shouldResetCache(q) {
|
||||
err := DeleteNameRecord(q.FQDN, q.QType.String())
|
||||
err := ResetCachedRecord(q.FQDN, q.QType.String())
|
||||
switch {
|
||||
case err == nil:
|
||||
log.Tracer(ctx).Tracef("resolver: cache for %s%s was reset", q.FQDN, q.QType)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue