summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-02-06 12:03:24 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-06 12:03:24 +0100
commit85a0ed1ccefc9bf0d054dac0d5305b1f6cc0fe22 (patch)
tree29d5e1f391f6f9c32114c468302ea58f97c73b26 /plugins
parentef193bf0ae75d206e4b50022f8c07e3b908c8491 (diff)
downloadrsyslog-85a0ed1ccefc9bf0d054dac0d5305b1f6cc0fe22.tar.gz
rsyslog-85a0ed1ccefc9bf0d054dac0d5305b1f6cc0fe22.tar.xz
rsyslog-85a0ed1ccefc9bf0d054dac0d5305b1f6cc0fe22.zip
bugfix: imuxsock incorrectly stated inputname "imudp"
Thanks to Ryan Lynch for reporting this.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/imuxsock/imuxsock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c
index 424d0904..5567a405 100644
--- a/plugins/imuxsock/imuxsock.c
+++ b/plugins/imuxsock/imuxsock.c
@@ -70,7 +70,7 @@ DEFobjCurrIf(errmsg)
DEFobjCurrIf(glbl)
DEFobjCurrIf(prop)
-static prop_t *pInputName = NULL; /* our inputName currently is always "imudp", and this will hold it */
+static prop_t *pInputName = NULL; /* our inputName currently is always "imuxsock", and this will hold it */
static int startIndexUxLocalSockets; /* process funix from that index on (used to
* suppress local logging. rgerhards 2005-08-01
* read-only after startup
@@ -312,7 +312,7 @@ CODESTARTwillRun
/* we need to create the inputName property (only once during our lifetime) */
CHKiRet(prop.Construct(&pInputName));
- CHKiRet(prop.SetString(pInputName, UCHAR_CONSTANT("imudp"), sizeof("imudp") - 1));
+ CHKiRet(prop.SetString(pInputName, UCHAR_CONSTANT("imuxsock"), sizeof("imuxsock") - 1));
CHKiRet(prop.ConstructFinalize(pInputName));
finalize_it: