Skip to content

Commit

Permalink
fixed leak checking fw status
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-iniguez-goya committed Dec 15, 2023
1 parent 0207e3a commit 9cee3b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions daemon/firewall/nftables/nftables.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ func (n *Nft) Stop() {
n.StopCheckingRules()
n.CleanRules(log.GetLogLevel() == log.DEBUG)

n.Lock()
n.Running = false
n.Unlock()
}

// EnableInterception adds firewall rules to intercept connections
Expand Down

0 comments on commit 9cee3b3

Please sign in to comment.