mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
added new parameter namespace for systemd backend
closes gh-2910
This commit is contained in:
parent
5f3f4d1e2f
commit
164105fab1
1 changed files with 5 additions and 0 deletions
|
|
@ -94,6 +94,11 @@ class FilterSystemd(JournalFilter): # pragma: systemd no cover
|
|||
# be sure all journal types will be opened if files specified (don't set flags):
|
||||
if 'files' not in args or not len(args['files']):
|
||||
args['flags'] = 4
|
||||
|
||||
try:
|
||||
args['namespace'] = kwargs.pop('namespace')
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
return args
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue