summaryrefslogtreecommitdiffstats
path: root/plugins/imrelp/imrelp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-05-16 15:11:24 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-16 15:11:24 +0200
commit29ebd4ab3e391aea53b6e337061d226359aeb993 (patch)
tree4ae2c32da9e8ed71109a2de600911df6dfdbd0d5 /plugins/imrelp/imrelp.c
parentffa17a25d2c2098d4977d377cbf20d0136fea820 (diff)
parentdfb1f20ce71e69bf164c9b1d59e0b4cd9f81c252 (diff)
downloadrsyslog-29ebd4ab3e391aea53b6e337061d226359aeb993.tar.gz
rsyslog-29ebd4ab3e391aea53b6e337061d226359aeb993.tar.bz2
rsyslog-29ebd4ab3e391aea53b6e337061d226359aeb993.zip
Merge branch 'master' into ietf-tls
Diffstat (limited to 'plugins/imrelp/imrelp.c')
-rw-r--r--plugins/imrelp/imrelp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c
index 3fe030bc..5c9bbce1 100644
--- a/plugins/imrelp/imrelp.c
+++ b/plugins/imrelp/imrelp.c
@@ -76,12 +76,14 @@ isPermittedHost(struct sockaddr *addr, char *fromHostFQDN, void __attribute__((u
* are different from our rsRetVal. So we can simply use our own iRet system
* to fulfill the requirement.
* rgerhards, 2008-03-21
+ * TODO: we currently do not receive the remote hosts's IP. As a work-around, we
+ * use "???" for the time being. -- rgerhards, 2008-05-16
*/
static relpRetVal
onSyslogRcv(uchar *pHostname, uchar __attribute__((unused)) *pIP, uchar *pMsg, size_t lenMsg)
{
DEFiRet;
- parseAndSubmitMessage(pHostname, pMsg, lenMsg, MSG_PARSE_HOSTNAME,
+ parseAndSubmitMessage(pHostname, (uchar*) "[unset]", pMsg, lenMsg, MSG_PARSE_HOSTNAME,
NOFLAG, eFLOWCTL_LIGHT_DELAY);
RETiRet;