diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-30 12:43:03 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-30 12:43:03 +0100 |
commit | 09a10603ffc1189b332df2042944afb70af5deaf (patch) | |
tree | b67117769bb9952d0c4f042557adcdf3f8e1956a /runtime | |
parent | 4cc7a7c16c99a41153c6161f8ba200fae9703c99 (diff) | |
download | rsyslog-09a10603ffc1189b332df2042944afb70af5deaf.tar.gz rsyslog-09a10603ffc1189b332df2042944afb70af5deaf.tar.xz rsyslog-09a10603ffc1189b332df2042944afb70af5deaf.zip |
bugfix: hostname accidently set to IP address for some message sources
for example imudp. Thanks to Anton for reporting this bug.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/msg.c b/runtime/msg.c index 208ea77a..b45775b6 100644 --- a/runtime/msg.c +++ b/runtime/msg.c @@ -1908,7 +1908,7 @@ rsRetVal MsgSetRcvFromIPStr(msg_t *pThis, uchar *psz, int len, prop_t **ppProp) assert(pThis != NULL); CHKiRet(prop.CreateOrReuseStringProp(ppProp, psz, len)); - MsgSetRcvFrom(pThis, *ppProp); + MsgSetRcvFromIP(pThis, *ppProp); finalize_it: RETiRet; |