mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Merge branch 'up/fixes' into build
* up/fixes: BF: removing starting anchor from standard time pattern (closes: #500824). Conflicts: server/datedetector.py
This commit is contained in:
commit
01db469fb3
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class DateDetector:
|
|||
# standard
|
||||
template = DateStrptime()
|
||||
template.setName("MONTH Day Hour:Minute:Second")
|
||||
template.setRegex("^\S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}")
|
||||
template.setRegex("\S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}")
|
||||
template.setPattern("%b %d %H:%M:%S")
|
||||
self.__templates.append(template)
|
||||
# asctime
|
||||
|
|
|
|||
Loading…
Reference in a new issue