From a019fa8caa9b8898d201849d243f9838806265a9 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Sat, 22 Mar 2008 17:13:55 +0000 Subject: bugfix: internally generated messages had "FROMHOST" property not set --- syslogd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'syslogd.c') diff --git a/syslogd.c b/syslogd.c index 588c5b91..39c0c72d 100644 --- a/syslogd.c +++ b/syslogd.c @@ -902,6 +902,7 @@ logmsgInternal(int pri, char *msg, int flags) MsgSetUxTradMsg(pMsg, msg); MsgSetRawMsg(pMsg, msg); MsgSetHOSTNAME(pMsg, LocalHostName); + MsgSetRcvFrom(pMsg, LocalHostName); MsgSetTAG(pMsg, "rsyslogd:"); pMsg->iFacility = LOG_FAC(pri); pMsg->iSeverity = LOG_PRI(pri); -- cgit