summaryrefslogtreecommitdiffstats
path: root/runtime/rule.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-01 14:21:49 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-01 14:21:49 +0100
commitabef390dae4e959a0650a1f8ff747dc5d1528305 (patch)
tree744badfb1d749ad241691781576a122276896dca /runtime/rule.c
parentebf058226120b89bc2735ff72c4c12c14cfa2599 (diff)
parentb4cdb7c997eee95df96321d11d03cf90e4a6caba (diff)
downloadrsyslog-abef390dae4e959a0650a1f8ff747dc5d1528305.tar.gz
rsyslog-abef390dae4e959a0650a1f8ff747dc5d1528305.tar.bz2
rsyslog-abef390dae4e959a0650a1f8ff747dc5d1528305.zip
Merge branch 'beta' into master
Conflicts: ChangeLog configure.ac doc/manual.html tools/syslogd.c
Diffstat (limited to 'runtime/rule.c')
-rw-r--r--runtime/rule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/rule.c b/runtime/rule.c
index ae0da0d6..65ad071e 100644
--- a/runtime/rule.c
+++ b/runtime/rule.c
@@ -193,6 +193,7 @@ RUNLOG_VAR("%p", pRule->pCSProgNameComp);
if(pRule->f_filter_type == FILTER_PRI) {
/* skip messages that are incorrect priority */
+dbgprintf("testing filter, f_pmask %d\n", pRule->f_filterData.f_pmask[pMsg->iFacility]);
if ( (pRule->f_filterData.f_pmask[pMsg->iFacility] == TABLE_NOPRI) || \
((pRule->f_filterData.f_pmask[pMsg->iFacility] & (1<<pMsg->iSeverity)) == 0) )
bRet = 0;