We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b0d3c commit 5109254Copy full SHA for 5109254
1 file changed
daemon/firewall/iptables/rules.go
@@ -11,6 +11,7 @@ import (
11
12
// RunRule inserts or deletes a firewall rule.
13
func (ipt *Iptables) RunRule(action Action, enable bool, logError bool, rule []string) (err *common.FirewallError) {
14
+ err = &common.FirewallError{}
15
if enable == false {
16
action = "-D"
17
}
0 commit comments