hotfix(firewall): save and restore behavior fixed

- restore if IPv4 set all policies fails
- fix deadlock when using iptables custom rules
- fix setting ipv6 rules when running runMixedIptablesInstruction
This commit is contained in:
Quentin McGaw
2026-02-28 14:37:58 +00:00
parent b9d49e0661
commit ec24ffdfd8
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func (c *Config) runMixedIptablesInstruction(ctx context.Context, instruction st
if err != nil {
return err
}
err = c.runIptablesInstructionNoSave(ctx, instruction)
err = c.runMixedIptablesInstructionNoSave(ctx, instruction)
if err != nil {
restore(ctx)
}