diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-18 11:40:15 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-18 11:40:15 +0200 |
commit | 1daf8d492f932739b6fcde732812116c7666b2bc (patch) | |
tree | 24dd3b699f1e4277919a64f4d9f513e1821b7b01 /tools | |
parent | ea4a3a3cd95faf9328def84e3e253d6c1a4375f7 (diff) | |
download | rsyslog-1daf8d492f932739b6fcde732812116c7666b2bc.tar.gz rsyslog-1daf8d492f932739b6fcde732812116c7666b2bc.tar.xz rsyslog-1daf8d492f932739b6fcde732812116c7666b2bc.zip |
converted netstrm into generic netstrm and the nsd_pctp driver
Diffstat (limited to 'tools')
-rw-r--r-- | tools/omfwd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/omfwd.c b/tools/omfwd.c index e7b5dcd7..3a2fe37f 100644 --- a/tools/omfwd.c +++ b/tools/omfwd.c @@ -253,6 +253,8 @@ static rsRetVal TCPSendInit(void *pvData) assert(pData != NULL); if(pData->pNetstrm == NULL) { CHKiRet(netstrm.Construct(&pData->pNetstrm)); + /* here we may set another netstream driver (e.g. to do TLS) */ + CHKiRet(netstrm.ConstructFinalize(pData->pNetstrm)); CHKiRet(netstrm.Connect(pData->pNetstrm, glbl.GetDefPFFamily(), (uchar*)pData->port, (uchar*)pData->f_hname)); } |