summaryrefslogtreecommitdiffstats
path: root/plugins/omudpspoof/omudpspoof.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-01-19 14:48:40 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-01-19 14:48:40 +0100
commit535d6cf0b8fe2423eee3fd670bc1e944b231e827 (patch)
treef9ccd768dc7b5aefba69d3e82d8891d76d4a41ad /plugins/omudpspoof/omudpspoof.c
parentad0fa5175901ba101a1e06f4a39ae56b75f84dca (diff)
downloadrsyslog-535d6cf0b8fe2423eee3fd670bc1e944b231e827.tar.gz
rsyslog-535d6cf0b8fe2423eee3fd670bc1e944b231e827.tar.xz
rsyslog-535d6cf0b8fe2423eee3fd670bc1e944b231e827.zip
v6.1/2 scoping support removed from plugins
Diffstat (limited to 'plugins/omudpspoof/omudpspoof.c')
-rw-r--r--plugins/omudpspoof/omudpspoof.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/omudpspoof/omudpspoof.c b/plugins/omudpspoof/omudpspoof.c
index 762f83c5..506fca77 100644
--- a/plugins/omudpspoof/omudpspoof.c
+++ b/plugins/omudpspoof/omudpspoof.c
@@ -115,8 +115,7 @@ typedef struct configSettings_s {
int iSourcePortStart;
int iSourcePortEnd;
} configSettings_t;
-
-SCOPING_SUPPORT; /* must be set AFTER configSettings_t is defined */
+static configSettings_t cs;
BEGINinitConfVars /* (re)set config variables to default values */
CODESTARTinitConfVars
@@ -485,7 +484,7 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a
BEGINmodInit()
CODESTARTmodInit
-SCOPINGmodInit
+INITLegCnfVars
*ipIFVersProvided = CURR_MOD_IF_VERSION; /* we only support the current interface specification */
CODEmodInit_QueryRegCFSLineHdlr
CHKiRet(objUse(glbl, CORE_COMPONENT));