Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
service: esfilter - set use flag when no filters are applied
  • Loading branch information
perexg committed Jul 31, 2014
1 parent b6bd240 commit 45492bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/service.c
Expand Up @@ -356,8 +356,11 @@ service_build_filter(service_t *t)
if (!TAILQ_EMPTY(&esfilters[i]))
goto filter;

TAILQ_FOREACH(st, &t->s_components, es_link)
TAILQ_FOREACH(st, &t->s_components, es_link) {
TAILQ_INSERT_TAIL(&t->s_filt_components, st, es_filt_link);
LIST_FOREACH(ca, &st->es_caids, link)
ca->use = 1;
}
return;

filter:
Expand Down

0 comments on commit 45492bf

Please sign in to comment.