Skip to content

Commit 6e8cfd6

Browse files
committed
Fix firewalld callback.
It needs to be called with same args as the one 4 lines above. Signed-off-by: Jiri Popelka <[email protected]>
1 parent 443437f commit 6e8cfd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

links/links.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (l *Link) Enable() error {
145145
return err
146146
}
147147
// call this on Firewalld reload
148-
iptables.OnReloaded(func() { l.toggle("-I", false) })
148+
iptables.OnReloaded(func() { l.toggle("-A", false) })
149149
l.IsEnabled = true
150150
return nil
151151
}

0 commit comments

Comments
 (0)