summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-14 15:29:17 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-14 15:29:17 +0200
commitc126e4464a2510eaf42526af64f85fa9a303b355 (patch)
treeaee9e19f226f34a47fc0cce00ffb18cc1515bc6b /tools
parent76b3fb796022ae249ae77db5288ceec542e7efa2 (diff)
parent9e81945a64fa25bb47348fe7eff502d7852045b5 (diff)
downloadrsyslog-c126e4464a2510eaf42526af64f85fa9a303b355.tar.gz
rsyslog-c126e4464a2510eaf42526af64f85fa9a303b355.tar.xz
rsyslog-c126e4464a2510eaf42526af64f85fa9a303b355.zip
Merge branch 'beta'
Diffstat (limited to 'tools')
-rw-r--r--tools/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index ea267f58..4c27a662 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -605,7 +605,7 @@ static inline rsRetVal printline(uchar *hname, uchar *hnameIP, uchar *msg, int f
if((pMsg->msgFlags & PARSE_HOSTNAME) == 0)
MsgSetHOSTNAME(pMsg, hname, ustrlen(hname));
MsgSetRcvFromStr(pMsg, hname, ustrlen(hname), &propFromHost);
- CHKiRet(MsgSetRcvFromIPStr(pMsg, hnameIP, ustrlen(hname), &propFromHostIP));
+ CHKiRet(MsgSetRcvFromIPStr(pMsg, hnameIP, ustrlen(hnameIP), &propFromHostIP));
MsgSetAfterPRIOffs(pMsg, p - msg);
logmsg(pMsg, flags);