fixed leak checking fw status

This commit is contained in:
Gustavo Iñiguez Goia 2023-12-15 11:49:16 +01:00
parent 0207e3a55f
commit 9cee3b3a73
Failed to generate hash of commit

View file

@ -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