diff options
author | sebres <serg.brester@sebres.de> | 2017-04-13 15:20:35 +0200 |
---|---|---|
committer | sebres <serg.brester@sebres.de> | 2017-08-08 20:21:44 +0200 |
commit | e52f483557f5be7416a9fa4bb4c5f71bf9ea4272 (patch) | |
tree | 7e63ffda725fc82ac58801f01ff1cd6e2187c30f /config/paths-common.conf | |
parent | 5ce8d4f741768c59fef5216323e9937ffb44f885 (diff) | |
download | fail2ban-e52f483557f5be7416a9fa4bb4c5f71bf9ea4272.tar.gz |
Config reader's: introduced new syntax `%(section/option)s`, in opposite to extended interpolation of python 3 `${section:option}` work with all supported python version in fail2ban and this syntax is like our another features like `%(known/option)s`, etc.;
Variable `default_backend` switched to `%(default/backend)s`, so totally backwards compatible now, but now the setting of parameter `backend` in default section of `jail.local` can overwrite default backend also.
Test cases extended: test targeted section options "section/option" (default and cross sections options);
Diffstat (limited to 'config/paths-common.conf')
-rw-r--r-- | config/paths-common.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/paths-common.conf b/config/paths-common.conf index 522957fe..51323d6b 100644 --- a/config/paths-common.conf +++ b/config/paths-common.conf @@ -7,7 +7,7 @@ after = paths-overrides.local [DEFAULT] -default_backend = %(known/backend)s +default_backend = %(default/backend)s sshd_log = %(syslog_authpriv)s sshd_backend = %(default_backend)s |