From 174b5c01eb5c1d1a97c4033b1bebeb5c3c73cbf6 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 20 Sep 2016 22:18:24 +1000 Subject: [PATCH] * f2b_filter_create() : dlsym flush() --- src/filter.c | 2 ++ 1 file changed, 2 insertions(+) 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)