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:
@@ -302,7 +302,7 @@ func checkConnectionScope(_ context.Context, conn *network.Connection, _ packet.
|
||||
|
||||
// If the IP address was resolved, check the scope of the resolver.
|
||||
switch {
|
||||
case p.RemoveOutOfScopeDNS():
|
||||
case !p.RemoveOutOfScopeDNS():
|
||||
// Out of scope checking is not active.
|
||||
case conn.Resolver == nil:
|
||||
// IP address of connection was not resolved.
|
||||
|
||||
Reference in New Issue
Block a user