summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-03-01 12:19:32 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-01 12:19:32 +0100
commitc2970de8b0dd07c52f3a107e5ec3de55010c9999 (patch)
treef029e970357da908eafd42cd78c8d21ec80d0f86 /plugins
parent1b5fc33198de4f10dbbfadae5d31dcb90f383553 (diff)
downloadrsyslog-c2970de8b0dd07c52f3a107e5ec3de55010c9999.tar.gz
rsyslog-c2970de8b0dd07c52f3a107e5ec3de55010c9999.tar.xz
rsyslog-c2970de8b0dd07c52f3a107e5ec3de55010c9999.zip
bugfix: imklog invalidly computed facility and severity
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=313
Diffstat (limited to 'plugins')
-rw-r--r--plugins/imklog/imklog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c
index 4112687a..16adbc21 100644
--- a/plugins/imklog/imklog.c
+++ b/plugins/imklog/imklog.c
@@ -109,8 +109,8 @@ enqMsg(uchar *msg, uchar* pszTag, int iFacility, int iSeverity)
MsgSetRcvFromIP(pMsg, pLocalHostIP);
MsgSetHOSTNAME(pMsg, glbl.GetLocalHostName(), ustrlen(glbl.GetLocalHostName()));
MsgSetTAG(pMsg, pszTag, ustrlen(pszTag));
- pMsg->iFacility = LOG_FAC(iFacility);
- pMsg->iSeverity = LOG_PRI(iSeverity);
+ pMsg->iFacility = iFacility;
+ pMsg->iSeverity = iSeverity;
CHKiRet(submitMsg(pMsg));
finalize_it: