moby/libnetwork/iptables
Arnaud Porterie 9e7d2fe74e Fix duplicated iptables rules
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>
2015-06-16 10:46:47 -07:00
..
firewalld.go Optional Userland Proxy 2015-05-18 18:13:39 -07:00
firewalld_test.go Optional Userland Proxy 2015-05-18 18:13:39 -07:00
iptables.go Fix duplicated iptables rules 2015-06-16 10:46:47 -07:00
iptables_test.go enable hairpin mode on the bridge port & fix iptables rule 2015-06-11 19:23:02 -07:00