From 99e8d91a9f988b276ce71413b5eafcf1bb7e44ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20KUBLER?= Date: Fri, 10 Jul 2020 11:32:34 +0200 Subject: [PATCH] Fixed ipset module to reflect the latest modifications in ShellCommander. --- ellis_actions/ipset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ellis_actions/ipset.py b/ellis_actions/ipset.py index abac8d6..20577ee 100644 --- a/ellis_actions/ipset.py +++ b/ellis_actions/ipset.py @@ -46,7 +46,7 @@ async def add(self, setname, ip, timeout=0): """ args = ['add', '-exist', setname, ip, 'timeout', timeout] - return await self.start(__class__.CMD, *args) + return await self.start(__class__.CMD, args) async def list(self, setname=None): """ @@ -65,7 +65,7 @@ async def list(self, setname=None): if setname is not None: args.append(setname) - return await self.start(__class__.CMD, *args) + return await self.start(__class__.CMD, args) def chose_blacklist(self, ip): """