|
|
@ -44,7 +44,7 @@ f2b_filter_load_file(f2b_filter_t *filter, const char *path) { |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
if (strstr(p, HOST_TOKEN) == NULL) { |
|
|
|
if (strstr(p, HOST_TOKEN) == NULL) { |
|
|
|
f2b_log_msg(log_warn, "pattern at %s:%d don't have '%s' marker, ignored", HOST_TOKEN); |
|
|
|
f2b_log_msg(log_warn, "pattern at %s:%d don't have '%s' marker, ignored", path, linenum, HOST_TOKEN); |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
if (!filter->append(filter->cfg, p)) { |
|
|
|
if (!filter->append(filter->cfg, p)) { |
|
|
|