diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-15 12:16:57 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-15 12:16:57 +0100 |
commit | ebda75e574dcb077c0da3ffd8cc4cc6b96c69ed3 (patch) | |
tree | 4d8ddfb7e2ade27a639e7693f893fd2810b4ede8 /plugins/imrelp/imrelp.c | |
parent | 3f4facd593e03d8fcabba04910dfbde46035a445 (diff) | |
download | rsyslog-ebda75e574dcb077c0da3ffd8cc4cc6b96c69ed3.tar.gz rsyslog-ebda75e574dcb077c0da3ffd8cc4cc6b96c69ed3.tar.bz2 rsyslog-ebda75e574dcb077c0da3ffd8cc4cc6b96c69ed3.zip |
imrelp: now supports listening to IPv4/v6 only instead of always both
build now requires librelp 1.0.2
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=378
Diffstat (limited to 'plugins/imrelp/imrelp.c')
-rw-r--r-- | plugins/imrelp/imrelp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c index dc67f4fe..5e0ae552 100644 --- a/plugins/imrelp/imrelp.c +++ b/plugins/imrelp/imrelp.c @@ -208,6 +208,7 @@ addListner(modConfData_t __attribute__((unused)) *modConf, instanceConf_t *inst) if(pRelpEngine == NULL) { CHKiRet(relpEngineConstruct(&pRelpEngine)); CHKiRet(relpEngineSetDbgprint(pRelpEngine, dbgprintf)); + CHKiRet(relpEngineSetFamily(pRelpEngine, glbl.GetDefPFFamily())); CHKiRet(relpEngineSetEnableCmd(pRelpEngine, (uchar*) "syslog", eRelpCmdState_Required)); CHKiRet(relpEngineSetSyslogRcv(pRelpEngine, onSyslogRcv)); if (!glbl.GetDisableDNS()) { |