9e7d2fe74e
The `iptables.Exists` function is wrong in two ways: 1. The iptables -C call doesn't add `-j DOCKER` and fails to match 2. The long path takes ordering into account in comparison and fails to match This patch fixes issue 1 by including `-j DOCKER` in the check. Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com> |
||
---|---|---|
.. | ||
firewalld.go | ||
firewalld_test.go | ||
iptables.go | ||
iptables_test.go |