summaryrefslogtreecommitdiffstats
path: root/plugins/omrelp
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-27 13:19:29 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-27 13:19:29 +0000
commit0f3da7e4b38470b35b5a1b28992c78d57c2fcaa5 (patch)
treea7905d29b5523f8f0f3a55bd9a8043a6c3064899 /plugins/omrelp
parent0b874291d90ea631cb8f8cb054c2958683359cb8 (diff)
downloadrsyslog-0f3da7e4b38470b35b5a1b28992c78d57c2fcaa5.tar.gz
rsyslog-0f3da7e4b38470b35b5a1b28992c78d57c2fcaa5.tar.xz
rsyslog-0f3da7e4b38470b35b5a1b28992c78d57c2fcaa5.zip
required "syslog" relp command on client connect
Diffstat (limited to 'plugins/omrelp')
-rw-r--r--plugins/omrelp/omrelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omrelp/omrelp.c b/plugins/omrelp/omrelp.c
index 5f7a71f1..069c19d6 100644
--- a/plugins/omrelp/omrelp.c
+++ b/plugins/omrelp/omrelp.c
@@ -324,7 +324,7 @@ CODEmodInit_QueryRegCFSLineHdlr
/* create our relp engine */
CHKiRet(relpEngineConstruct(&pRelpEngine));
CHKiRet(relpEngineSetDbgprint(pRelpEngine, dbgprintf));
- CHKiRet(relpEngineSetEnableCmd(pRelpEngine, (uchar*) "syslog", eRelpCmdState_Desired));
+ CHKiRet(relpEngineSetEnableCmd(pRelpEngine, (uchar*) "syslog", eRelpCmdState_Required));
/* tell which objects we need */
CHKiRet(objUse(errmsg, CORE_COMPONENT));