mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
BF: return str(host) to avoid spurious characters in the logs (Close gh-113)
thanks to opoplawski@github
This commit is contained in:
parent
5f2d3832f7
commit
f8983872ad
1 changed files with 1 additions and 1 deletions
|
|
@ -130,4 +130,4 @@ class FailRegex(Regex):
|
|||
s = self._matchCache.string
|
||||
r = self._matchCache.re
|
||||
raise RegexException("No 'host' found in '%s' using '%s'" % (s, r))
|
||||
return host
|
||||
return str(host)
|
||||
|
|
|
|||
Loading…
Reference in a new issue