From 09a10603ffc1189b332df2042944afb70af5deaf Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 30 Nov 2009 12:43:03 +0100 Subject: bugfix: hostname accidently set to IP address for some message sources for example imudp. Thanks to Anton for reporting this bug. --- ChangeLog | 2 ++ runtime/msg.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e493e857..aeabb305 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ Version 4.5.7 [v4-beta] (rgerhards), 2009-11-18 Also improved the doc on the debug system. - bugfix (kind of): check if TCP connection is still alive if using TLS Thanks to Jonathan Bond-Caron for the patch. +- bugfix: hostname accidently set to IP address for some message sources, + for example imudp. Thanks to Anton for reporting this bug. - bugfix [imported from 4.4.3]: $ActionExecOnlyOnceEveryInterval did not work. --------------------------------------------------------------------------- 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; -- cgit