Refactor: move logging of ipset entries down to ipset package
This commit is contained in:
1 parent
9d29da8d27
commit
fa56ad8bc3
3 files changed
+7
-5
No files matched your search
@@ -135,7 +135,7 @@ func root(cmd *cobra.Command, args []string) {
|
||||
ipt, err := iptables.New()
|
||||
handleError(err)
|
||||
|
||||
ips := ipset.New()
|
||||
ips := ipset.New(common.LogLogger())
|
||||
|
||||
handleError(resetIPTables(ipt))
|
||||
handleError(resetIPSets(ips))
|
||||
|
||||
Reference in new issue
Block a user