9484520327
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>
7 lines
201 B
Go
7 lines
201 B
Go
//go:build !linux
|
|
|
|
package libnetwork
|
|
|
|
func setupArrangeUserFilterRule(c *Controller) {}
|
|
func arrangeUserFilterRule() {}
|
|
func setupUserChain(ipVersion any) error { return nil }
|