diff --git a/src/filter.c b/src/filter.c index a8b836b..b38e5a7 100644 --- a/src/filter.c +++ b/src/filter.c @@ -96,6 +96,8 @@ f2b_filter_create(f2b_config_section_t *config, const char *file) { goto cleanup; if ((*(void **) (&filter->ready) = dlsym(filter->h, "ready")) == NULL) goto cleanup; + if ((*(void **) (&filter->flush) = dlsym(filter->h, "flush")) == NULL) + goto cleanup; if ((*(void **) (&filter->stats) = dlsym(filter->h, "stats")) == NULL) goto cleanup; if ((*(void **) (&filter->match) = dlsym(filter->h, "match")) == NULL)