From: Florent Bruneau Date: Mon, 13 Oct 2008 20:46:30 +0000 (+0200) Subject: Valid default values. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=c6c35d88944e43bce8b17cef7e8d6914a56eec23;p=apps%2Fpfixtools.git Valid default values. Signed-off-by: Florent Bruneau --- 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);