summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-03-01 12:16:59 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-01 12:16:59 +0100
commitaafa9b41a5f06b88f11df5c837427e171e1048d7 (patch)
treeed81a0447a71d8690abd6ed9d0a6f9b88e2d1a51 /plugins
parent2227515764469d475d42d05ca7384cb227a8dce5 (diff)
downloadrsyslog-aafa9b41a5f06b88f11df5c837427e171e1048d7.tar.gz
rsyslog-aafa9b41a5f06b88f11df5c837427e171e1048d7.tar.xz
rsyslog-aafa9b41a5f06b88f11df5c837427e171e1048d7.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 40249273..e82dd1f4 100644
--- a/plugins/imklog/imklog.c
+++ b/plugins/imklog/imklog.c
@@ -119,8 +119,8 @@ enqMsg(uchar *msg, uchar* pszTag, int iFacility, int iSeverity, struct timeval *
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: