use raw host (don't use textToIp) if usedns not yes or warn

pull/1454/head
sebres 2016-05-30 12:30:51 +02:00
parent e01cd8ab03
commit b7787f4af4
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ class Filter(JailThread):
self.__lineBuffer = failRegex.getUnmatchedTupleLines() self.__lineBuffer = failRegex.getUnmatchedTupleLines()
try: try:
host = failRegex.getHost() host = failRegex.getHost()
if returnRawHost: if returnRawHost or self.__useDns not in ("yes", "warn"):
failList.append([failRegexIndex, host, date, failList.append([failRegexIndex, host, date,
failRegex.getMatchedLines()]) failRegex.getMatchedLines()])
if not checkAllRegex: if not checkAllRegex: