X-Git-Url: http://git.madism.org/?p=apps%2Fpfixtools.git;a=blobdiff_plain;f=postlicyd%2Fcounters.c;h=d80b934df3a58057f5aaa2e20beabb48ac391f98;hp=477e6e1a644290909b01fea497cbfcb2033d2f6f;hb=c6c35d88944e43bce8b17cef7e8d6914a56eec23;hpb=1377aa69575ab9a92b7edb7d9ae9cb2f3380cf01 diff --git a/postlicyd/counters.c b/postlicyd/counters.c index 477e6e1..d80b934 100644 --- a/postlicyd/counters.c +++ b/postlicyd/counters.c @@ -68,6 +68,8 @@ static bool counter_filter_constructor(filter_t *filter) return false; \ } + config->hard_threshold = 1; + config->soft_threshold = 1; foreach (filter_param_t *param, filter->params) { switch (param->type) { FILTER_PARAM_PARSE_INT(COUNTER, config->counter);