diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-04-23 17:31:26 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-04-23 17:31:26 +0200 |
commit | 9ec02e670a5fec3d42d567ec593f618dfc9cacb8 (patch) | |
tree | 5f804dc30342b60b240d0d3a23e02c0c8670573b /plugins/omudpspoof | |
parent | f949f5c037d0b22fd650ab002f195ae58b1d0989 (diff) | |
download | rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.tar.gz rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.tar.xz rsyslog-9ec02e670a5fec3d42d567ec593f618dfc9cacb8.zip |
cleanup: removed unused but set parameters
Diffstat (limited to 'plugins/omudpspoof')
-rw-r--r-- | plugins/omudpspoof/omudpspoof.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/omudpspoof/omudpspoof.c b/plugins/omudpspoof/omudpspoof.c index 17b73b6d..9a469c16 100644 --- a/plugins/omudpspoof/omudpspoof.c +++ b/plugins/omudpspoof/omudpspoof.c @@ -202,7 +202,7 @@ UDPSend(instanceData *pData, uchar *pszSourcename, char *msg, size_t len) struct addrinfo *r; int lsent = 0; int bSendSuccess; - int j, build_ip; + int j; u_char opt[20]; struct sockaddr_in *tempaddr,source_ip; libnet_ptag_t ip, ipo; @@ -238,7 +238,6 @@ UDPSend(instanceData *pData, uchar *pszSourcename, char *msg, size_t len) DBGPRINTF("Can't build UDP header: %s\n", libnet_geterror(libnet_handle)); } - build_ip = 0; /* this is not a legal options string */ for (j = 0; j < 20; j++) { opt[j] = libnet_get_prand(LIBNET_PR2); |