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

Merge pull request #13044 from jpopelka/link-add

Fix firewalld callback.
This commit is contained in:
Alexander Morozov 2015-05-07 10:34:34 -07:00
commit 4f25f21a97

View file

@ -145,7 +145,7 @@ func (l *Link) Enable() error {
return err
}
// call this on Firewalld reload
iptables.OnReloaded(func() { l.toggle("-I", false) })
iptables.OnReloaded(func() { l.toggle("-A", false) })
l.IsEnabled = true
return nil
}