Improve verdict handling and switch to immediate re-evaluation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user