mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
commit ffd75c2e0c updated this function to
set up the DOCKER-USER chain for both iptables and ip6tables, however the
function would return early if a failure happened (instead of continuing
with the next iptables version).
This patch extracts setting up the chain to a separate function, and updates
arrangeUserFilterRule to log the failure as a warning, but continue with
the next iptables version.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
8 lines
201 B
Go
8 lines
201 B
Go
//go:build !linux
|
|
|
|
package libnetwork
|
|
|
|
func setupArrangeUserFilterRule(c *Controller) {}
|
|
func arrangeUserFilterRule() {}
|
|
func setupUserChain(ipVersion any) error { return nil }
|