summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-11-21 10:52:19 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-11-21 10:52:19 +0000
commit8d606ea26d5fc79b845bafbc08d979ecc2ba0529 (patch)
treef17916ff1579340b723b9253cdab6d117697ab37 /omfwd.c
parent214c7bd7f8552f0a07a15373b4a222da6e9e6ba6 (diff)
downloadrsyslog-8d606ea26d5fc79b845bafbc08d979ecc2ba0529.tar.gz
rsyslog-8d606ea26d5fc79b845bafbc08d979ecc2ba0529.tar.xz
rsyslog-8d606ea26d5fc79b845bafbc08d979ecc2ba0529.zip
added an identifier to command handler table - need to identify which
command handler entries need to be removed when module is unloaded
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/omfwd.c b/omfwd.c
index 7719e05f..e34fbb3e 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -1182,9 +1182,9 @@ CODESTARTmodInit
*ipIFVersProvided = 1; /* so far, we only support the initial definition */
CODEmodInit_QueryRegCFSLineHdlr
# ifdef USE_GSSAPI
- CHKiRet(omsdRegCFSLineHdlr((uchar *)"gssforwardservicename", 0, eCmdHdlrGetWord, NULL, &gss_base_service_name));
- CHKiRet(omsdRegCFSLineHdlr((uchar *)"gssmode", 0, eCmdHdlrGetWord, setGSSMode, &gss_mode));
- CHKiRet(omsdRegCFSLineHdlr((uchar *)"resetconfigvariables", 1, eCmdHdlrCustomHandler, resetConfigVariables, NULL));
+ CHKiRet(omsdRegCFSLineHdlr((uchar *)"gssforwardservicename", 0, eCmdHdlrGetWord, NULL, &gss_base_service_name, STD_LOADABLE_MODULE_ID));
+ CHKiRet(omsdRegCFSLineHdlr((uchar *)"gssmode", 0, eCmdHdlrGetWord, setGSSMode, &gss_mode, STD_LOADABLE_MODULE_ID));
+ CHKiRet(omsdRegCFSLineHdlr((uchar *)"resetconfigvariables", 1, eCmdHdlrCustomHandler, resetConfigVariables, NULL, STD_LOADABLE_MODULE_ID));
# endif
ENDmodInit