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:
parent
4c015269c5
commit
e744b62f49
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue