mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Merge pull request #283 from safing/fix/dns-split-view-check
Fix check if filter/removeOutOfScopeDNS should applied to a connection
This commit is contained in:
commit
c5870d3c44
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ func checkConnectionScope(_ context.Context, conn *network.Connection, _ packet.
|
||||||
|
|
||||||
// If the IP address was resolved, check the scope of the resolver.
|
// If the IP address was resolved, check the scope of the resolver.
|
||||||
switch {
|
switch {
|
||||||
case p.RemoveOutOfScopeDNS():
|
case !p.RemoveOutOfScopeDNS():
|
||||||
// Out of scope checking is not active.
|
// Out of scope checking is not active.
|
||||||
case conn.Resolver == nil:
|
case conn.Resolver == nil:
|
||||||
// IP address of connection was not resolved.
|
// IP address of connection was not resolved.
|
||||||
|
|
Loading…
Add table
Reference in a new issue