summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-07-20 17:37:44 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-07-20 17:37:44 +0200
commit5820c5f3e8dc69bdee969d6487d084e884595069 (patch)
treec44cda2313dd8ae3d1f415e864500a747ac4b23c /runtime/rsconf.c
parent686540cebee2920341911860c0019e687174daa8 (diff)
downloadrsyslog-5820c5f3e8dc69bdee969d6487d084e884595069.tar.gz
rsyslog-5820c5f3e8dc69bdee969d6487d084e884595069.tar.xz
rsyslog-5820c5f3e8dc69bdee969d6487d084e884595069.zip
milestone: done plumbing to call plugin create action instance entry point
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r--runtime/rsconf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c
index 26105e88..4fe17534 100644
--- a/runtime/rsconf.c
+++ b/runtime/rsconf.c
@@ -230,7 +230,8 @@ cnfDoActlst(struct cnfactlst *actlst, rule_t *pRule)
while(actlst != NULL) {
dbgprintf("aclst %p: ", actlst);
if(actlst->actType == CNFACT_V2) {
- dbgprintf("V2 action type not yet handled\n");
+ dbgprintf("v6+ action object\n");
+ actionNewInst(actlst->data.lst, &pAction);
} else {
dbgprintf("legacy action line:%s\n", actlst->data.legActLine);
str = (uchar*) actlst->data.legActLine;
@@ -360,6 +361,9 @@ void cnfDoObj(struct cnfobj *o)
case CNFOBJ_GLOBAL:
glblProcessCnf(o);
break;
+ case CNFOBJ_ACTION:
+ actionProcessCnf(o);
+ break;
}
nvlstChkUnused(o->nvlst);
cnfobjDestruct(o);