mirror of https://github.com/fail2ban/fail2ban
logic fix
parent
8e3c1b73e9
commit
0c7487af24
|
@ -285,7 +285,7 @@ class Filter(JailThread):
|
||||||
if self.__ignoreCommand is not False:
|
if self.__ignoreCommand is not False:
|
||||||
ignored_ips = os.popen(self.__ignoreCommand).read().split(" ")
|
ignored_ips = os.popen(self.__ignoreCommand).read().split(" ")
|
||||||
if ip in ignored_ips:
|
if ip in ignored_ips:
|
||||||
continue
|
return True
|
||||||
|
|
||||||
s = i.split('/', 1)
|
s = i.split('/', 1)
|
||||||
# IP address without CIDR mask
|
# IP address without CIDR mask
|
||||||
|
|
Loading…
Reference in New Issue