From 9c72fcfa404287bd9503c6fc50e9cf7525a58b38 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 23 Aug 2021 23:02:27 +0200 Subject: [PATCH] Improve documentation --- firewall/master.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firewall/master.go b/firewall/master.go index a0f0540a..fcf946a5 100644 --- a/firewall/master.go +++ b/firewall/master.go @@ -391,7 +391,7 @@ func checkResolverScope(_ context.Context, conn *network.Connection, p *profile. } func checkDomainHeuristics(ctx context.Context, conn *network.Connection, p *profile.LayeredProfile, _ packet.Packet) bool { - // Don't check if no domain is available. + // Don't check domain heuristics if no domain is available. if conn.Entity.Domain == "" { return false } @@ -482,7 +482,7 @@ func checkAutoPermitRelated(_ context.Context, conn *network.Connection, p *prof // checkRelation tries to find a relation between a process and a communication. This is for better out of the box experience and is _not_ meant to thwart intentional malware. func checkRelation(conn *network.Connection) (related bool, reason string) { - // Don't check if no domain is available. + // Don't check relation if no domain is available. if conn.Entity.Domain == "" { return false, "" }