diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 12:07:23 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 12:07:23 +0000 |
commit | 54669873b0469aa69a4c9f88bcf88470218082f8 (patch) | |
tree | 1042b7096d3332dc92abbb8c4ee9fdc0af1f7e55 /modules.c | |
parent | 1904ce3f5aa11f190c881ccda650c1f464fe9271 (diff) | |
download | rsyslog-54669873b0469aa69a4c9f88bcf88470218082f8.tar.gz rsyslog-54669873b0469aa69a4c9f88bcf88470218082f8.tar.xz rsyslog-54669873b0469aa69a4c9f88bcf88470218082f8.zip |
- implemented needUDPSocket() interface
- replaced (mis) use of f_prevcount in omfwd.c -> now data element in
instance data is used for retry counting
- removed f->f_type from syslogd.c, omfwd.c
- removed f->f_file from omfwd.c, omfile.c
- f->f_flags is gone away
Diffstat (limited to 'modules.c')
-rw-r--r-- | modules.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -188,6 +188,10 @@ rsRetVal doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)()), uchar *name) moduleDestruct(pNew); return iRet; } + if((iRet = (*pNew->modQueryEtryPt)((uchar*)"needUDPSocket", &pNew->needUDPSocket)) != RS_RET_OK) { + moduleDestruct(pNew); + return iRet; + } if((iRet = (*pNew->modQueryEtryPt)((uchar*)"freeInstance", &pNew->freeInstance)) != RS_RET_OK) { moduleDestruct(pNew); return iRet; |