minor refactoring

This commit is contained in:
vladimir
2022-11-10 17:36:58 +02:00
parent f43cf9974d
commit c43f6fe463
4 changed files with 13 additions and 13 deletions

View File

@@ -151,7 +151,7 @@ func resetAllConnectionVerdicts() {
if conn.Verdict.Firewall != previousVerdict {
err := interception.UpdateVerdictOfConnection(conn)
if err != nil {
log.Debugf("filter: failed to delete connection verdict: %s", err)
log.Debugf("filter: failed to update connection verdict: %s", err)
}
conn.Save()
tracer.Infof("filter: verdict of connection %s changed from %s to %s", conn, previousVerdict.Verb(), conn.VerdictVerb())