From 2deec9a12944129c9dce9ee237d04e0a1a8b082b Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 19 Oct 2009 18:02:46 +0200 Subject: bugfix: first UDP listener was incorrectly assigned its ruleset this was a regression of the recent imudp multi-ruleset enhancement bug was not in any released version --- runtime/conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/conf.c b/runtime/conf.c index d1b14793..d6e6ccf6 100644 --- a/runtime/conf.c +++ b/runtime/conf.c @@ -1037,7 +1037,7 @@ static rsRetVal cflineDoFilter(uchar **pp, rule_t *f) DEFiRet; ASSERT(pp != NULL); - ASSERT(f != NULL); + ISOBJ_TYPE_assert(f, rule); /* check which filter we need to pull... */ switch(**pp) { @@ -1059,6 +1059,7 @@ static rsRetVal cflineDoFilter(uchar **pp, rule_t *f) * and, if so, we copy them over. rgerhards, 2005-10-18 */ if(pDfltProgNameCmp != NULL) { +RUNLOG_STR("dflt ProgNameCmp != NULL, setting opCSProgNameComp"); CHKiRet(rsCStrConstructFromCStr(&(f->pCSProgNameComp), pDfltProgNameCmp)); } -- cgit