summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-19 08:08:46 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-19 08:08:46 +0200
commitd4690ae053b1b26fd215485f08875d508d7c4eba (patch)
tree0fc3ab1729912faace71c365ba1659ef60dbc7a8
parent0a3c0e2f4e8c98f892aab08c154c7c43a89b4102 (diff)
downloadrsyslog-d4690ae053b1b26fd215485f08875d508d7c4eba.tar.gz
rsyslog-d4690ae053b1b26fd215485f08875d508d7c4eba.tar.xz
rsyslog-d4690ae053b1b26fd215485f08875d508d7c4eba.zip
bugfix: imuxsock did not properly honor $LocalHostIPIF
-rw-r--r--ChangeLog1
-rw-r--r--plugins/imuxsock/imuxsock.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index addcdec6..0453ad84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,7 @@ Version 6.4.3 [V6-STABLE] 2012-??-??
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=358
This happend to filters of the style "local0,local1.*", where the
multiple facilities were comma-separated.
+- bugfix: imuxsock did not properly honor $LocalHostIPIF
---------------------------------------------------------------------------
Version 6.4.2 [V6-STABLE] 2012-09-20
- bugfix: potential abort, if action queue could not be properly started
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c
index c2dbdba2..9d62ba8e 100644
--- a/plugins/imuxsock/imuxsock.c
+++ b/plugins/imuxsock/imuxsock.c
@@ -1295,11 +1295,6 @@ CODEmodInit_QueryRegCFSLineHdlr
listeners[i].fd = -1;
}
- /* now init listen socket zero, the local log socket */
- CHKiRet(prop.Construct(&pLocalHostIP));
- CHKiRet(prop.SetString(pLocalHostIP, UCHAR_CONSTANT("127.0.0.1"), sizeof("127.0.0.1") - 1));
- CHKiRet(prop.ConstructFinalize(pLocalHostIP));
-
/* register config file handlers */
CHKiRet(omsdRegCFSLineHdlr((uchar *)"omitlocallogging", 0, eCmdHdlrBinary,
NULL, &cs.bOmitLocalLogging, STD_LOADABLE_MODULE_ID));