mirror of
https://github.com/safing/portmaster
synced 2025-09-12 07:49:41 +00:00
Implement review suggestions
Fix local. resolving in Firefox
This commit is contained in:
parent
e369a9484a
commit
047352f9b5
9 changed files with 57 additions and 52 deletions
|
@ -261,6 +261,8 @@ resolveLoop:
|
|||
case errors.Is(err, ErrBlocked):
|
||||
// some resolvers might also block
|
||||
return nil, err
|
||||
case errors.Is(err, ErrContinue):
|
||||
continue
|
||||
case netenv.GetOnlineStatus() == netenv.StatusOffline &&
|
||||
!netenv.IsConnectivityDomain(q.FQDN):
|
||||
log.Tracer(ctx).Debugf("resolver: not resolving %s, device is offline", q.FQDN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue