Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnetwork: Remove iptables nat rule when hairpin is disabled
When userland-proxy was turned off and on again, the iptables nat rule doing hairpinning wasn't properly removed. This fix makes sure that nat rule is removed whenever the bridge is torn down or hairpinning is disabled (through setting userland-proxy to true). Fixes moby#44721.
- Loading branch information