diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-22 17:13:55 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-22 17:13:55 +0000 |
commit | a019fa8caa9b8898d201849d243f9838806265a9 (patch) | |
tree | 5b338ddce32801cc4fc07b693241e46605f31472 /syslogd.c | |
parent | c75bd2401298498efffd830dea0441dbb3d353fb (diff) | |
download | rsyslog-a019fa8caa9b8898d201849d243f9838806265a9.tar.gz rsyslog-a019fa8caa9b8898d201849d243f9838806265a9.tar.xz rsyslog-a019fa8caa9b8898d201849d243f9838806265a9.zip |
bugfix: internally generated messages had "FROMHOST" property not set
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |