1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Update setup_ip_forwarding.go

Signed-off-by: Ryoga Saito <proelbtn@users.noreply.github.com>
This commit is contained in:
Ryoga 2019-02-26 13:24:54 +09:00 committed by proelbtn
parent 4c015269c5
commit e744b62f49

View file

@ -48,7 +48,7 @@ func setupIPForwarding(enableIPTables bool) error {
iptables.OnReloaded(func() {
logrus.Debug("Setting the default DROP policy on firewall reload")
if err := iptables.SetDefaultPolicy(iptables.Filter, "FORWARD", iptables.Drop); err != nil {
logrus.Warnf("Settig the default DROP policy on firewall reload failed, %v", err)
logrus.Warnf("Setting the default DROP policy on firewall reload failed, %v", err)
}
})
}