mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
Fix firewalld callback.
It needs to be called with same args as the one 4 lines above. Signed-off-by: Jiri Popelka <jpopelka@redhat.com>
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user