diff --git a/fail2ban/server/action.py b/fail2ban/server/action.py index 31475d72f..f06e28c0e 100644 --- a/fail2ban/server/action.py +++ b/fail2ban/server/action.py @@ -383,7 +383,7 @@ class CommandAction(ActionBase): except ValueError as e: raise RuntimeError("Error %s action %s/%s: %r" % (operation, self._jail, self._name, e)) - COND_FAMILIES = {'inet4':1, 'inet6':1} + COND_FAMILIES = ('inet4', 'inet6') @property def _startOnDemand(self):