mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
amend for 3036ed1889: resolve deprecated syntax (eliminate "invalid sequence" warnings)
This commit is contained in:
parent
f69a8693fc
commit
939f0d43e0
1 changed files with 1 additions and 1 deletions
|
|
@ -1375,7 +1375,7 @@ class Fail2banServerTest(Fail2banClientServerBase):
|
|||
"action = test-action1[name='%(__name__)s']",
|
||||
" test-action2[name='%(__name__)s']",
|
||||
"logpath = " + test1log,
|
||||
"failregex = ^\s*failure <F-ERRCODE>401|403</F-ERRCODE> from <HOST>:\s*<F-MSG>.*</F-MSG>$",
|
||||
r"failregex = ^\s*failure <F-ERRCODE>401|403</F-ERRCODE> from <HOST>:\s*<F-MSG>.*</F-MSG>$",
|
||||
"enabled = true",
|
||||
"",
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue