fix(firewall/iptables): shared mutex for both iptables and ip6tables

This commit is contained in:
Quentin McGaw
2026-03-23 14:09:26 +00:00
parent 57cf276d31
commit 086e3740f3
5 changed files with 7 additions and 18 deletions
+3 -4
View File
@@ -6,10 +6,9 @@ import (
)
type Config struct {
runner CmdRunner
logger Logger
iptablesMutex sync.Mutex
ip6tablesMutex sync.Mutex
runner CmdRunner
logger Logger
iptablesMutex sync.Mutex
// Fixed state
ipTables string