service: esfilter - set use flag when no filters are applied
This commit is contained in:
parent
b6bd2400eb
commit
45492bfa77
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue