mirror of https://github.com/fail2ban/fail2ban
Prevent warning when IP is read from log
parent
635ed36a8c
commit
068c105eb5
|
@ -599,9 +599,9 @@ class DNSUtils:
|
|||
ip = DNSUtils.dnsToIp(text)
|
||||
for e in ip:
|
||||
ipList.append(e)
|
||||
if useDns == "warn":
|
||||
logSys.warning("Determined IP using DNS Reverse Lookup: %s = %s",
|
||||
text, ipList)
|
||||
if useDns == "warn":
|
||||
logSys.warning("Determined IP using DNS Reverse Lookup: %s = %s",
|
||||
text, ipList)
|
||||
return ipList
|
||||
textToIp = staticmethod(textToIp)
|
||||
|
||||
|
|
Loading…
Reference in New Issue