diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-06 13:07:06 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-06 13:07:06 +0100 |
commit | ec32919ca05598f11f538060c406d8668a35e229 (patch) | |
tree | 11bf808954bb01a9a67b109c3b20a02c80c1f8b2 /plugins/omudpspoof/omudpspoof.c | |
parent | 80a4feb542e15b2fe100f88690000789eab562bb (diff) | |
parent | 6b0e236cdf3d55299de70cf41dafdefec286f103 (diff) | |
download | rsyslog-ec32919ca05598f11f538060c406d8668a35e229.tar.gz rsyslog-ec32919ca05598f11f538060c406d8668a35e229.tar.bz2 rsyslog-ec32919ca05598f11f538060c406d8668a35e229.zip |
Merge branch 'master' into master-ruleeng
Diffstat (limited to 'plugins/omudpspoof/omudpspoof.c')
-rw-r--r-- | plugins/omudpspoof/omudpspoof.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/omudpspoof/omudpspoof.c b/plugins/omudpspoof/omudpspoof.c index 058c4252..cb907bba 100644 --- a/plugins/omudpspoof/omudpspoof.c +++ b/plugins/omudpspoof/omudpspoof.c @@ -525,9 +525,6 @@ static rsRetVal doTryResume(instanceData *pData) if(pData->pSockArray != NULL) FINALIZE; - if(pData->host == NULL) - ABORT_FINALIZE(RS_RET_DISABLE_ACTION); - if(pData->libnet_handle == NULL) { /* Initialize the libnet library. Root priviledges are required. * this initializes a IPv4 socket to use for forging UDP packets. @@ -571,8 +568,7 @@ finalize_it: freeaddrinfo(pData->f_addr); pData->f_addr = NULL; } - if(iRet != RS_RET_DISABLE_ACTION) - iRet = RS_RET_SUSPENDED; + iRet = RS_RET_SUSPENDED; } RETiRet; |