Prevent warning when IP is read from log

pull/27/head
Lee Clemens 2012-01-10 22:19:04 -05:00
parent 635ed36a8c
commit 068c105eb5
1 changed files with 3 additions and 3 deletions

View File

@ -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)