summaryrefslogtreecommitdiffstats
path: root/runtime/netstrm.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-01-24 06:19:13 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-01-24 06:19:13 +0100
commit0d71694fb3cbff71d504769e0e70a58ebe5f9a0d (patch)
treed36030df25a095ac84a196a466f12456b3f855cb /runtime/netstrm.c
parent6b4d9afccb4297face53fd6bec0fb30b6a8da1c3 (diff)
downloadrsyslog-0d71694fb3cbff71d504769e0e70a58ebe5f9a0d.tar.gz
rsyslog-0d71694fb3cbff71d504769e0e70a58ebe5f9a0d.tar.bz2
rsyslog-0d71694fb3cbff71d504769e0e70a58ebe5f9a0d.zip
optimize: have dns cache pre-create rsyslog prop_t's
Diffstat (limited to 'runtime/netstrm.c')
-rw-r--r--runtime/netstrm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/netstrm.c b/runtime/netstrm.c
index 58f38280..c046cf52 100644
--- a/runtime/netstrm.c
+++ b/runtime/netstrm.c
@@ -271,11 +271,11 @@ GetRemoteHName(netstrm_t *pThis, uchar **ppsz)
/* get remote IP - slim wrapper for NSD driver function */
static rsRetVal
-GetRemoteIP(netstrm_t *pThis, uchar **ppsz)
+GetRemoteIP(netstrm_t *pThis, prop_t **ip)
{
DEFiRet;
ISOBJ_TYPE_assert(pThis, netstrm);
- iRet = pThis->Drvr.GetRemoteIP(pThis->pDrvrData, ppsz);
+ iRet = pThis->Drvr.GetRemoteIP(pThis->pDrvrData, ip);
RETiRet;
}