mirror of
https://github.com/safing/portmaster
synced 2025-09-16 09:49:39 +00:00
Improve verdict handling and switch to immediate re-evaluation
This commit is contained in:
parent
57904426e3
commit
f63df67d23
12 changed files with 242 additions and 111 deletions
|
@ -119,7 +119,7 @@ func (conn *Connection) addToMetrics() {
|
|||
}
|
||||
|
||||
// Check the verdict.
|
||||
switch conn.Verdict.Current { //nolint:exhaustive // Not critical.
|
||||
switch conn.Verdict.Firewall { //nolint:exhaustive // Not critical.
|
||||
case VerdictBlock, VerdictDrop:
|
||||
blockedOutConnCounter.Inc()
|
||||
conn.addedToMetrics = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue