@ -19,6 +19,13 @@ backend = exec-ipset:banned
[filter:preg]
load = libf2b_filter_preg.so
icase = no
[filter:pcre]
load = libf2b_filter_pcre.so
study = no
usejit = no
[backend:exec-ipset]
load = libf2b_backend_exec.so
@ -57,7 +57,7 @@ config(cfg_t *cfg, const char *key, const char *value) {
cfg->study = (strcmp(value, "yes") == 0) ? true : false;
return true;
}
if (strcmp(key, "use_jit") == 0) {
if (strcmp(key, "usejit") == 0) {
cfg->usejit = (strcmp(value, "yes") == 0) ? true : false;