From 33c5bb3c08d7f826862ff78816be82cbe09d17eb Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 9 Jul 2009 11:27:10 +0200 Subject: first version supporting udp spoofing and non-spoofing at the same time omudpspoof is now a dedicated output module. It's calling semantics so far are based on omfwd, plus the need for the template to have the IP address as a string in the starting position. --- tools/omfwd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools') diff --git a/tools/omfwd.c b/tools/omfwd.c index d0c45cba..f21bb5c8 100644 --- a/tools/omfwd.c +++ b/tools/omfwd.c @@ -206,8 +206,6 @@ static rsRetVal UDPSend(instanceData *pData, char *msg, size_t len) unsigned lsent = 0; int bSendSuccess; -dbgprintf("rebind logic: interval %d, curr %d, mod %d, if %d\n", pData->iUDPRebindInterval, pData->nXmit, - (pData->nXmit % pData->iUDPRebindInterval), ((pData->nXmit % pData->iUDPRebindInterval) == 0)); if(pData->iUDPRebindInterval && (pData->nXmit++ % pData->iUDPRebindInterval == 0)) { dbgprintf("omfwd dropping UDP 'connection' (as configured)\n"); pData->nXmit = 1; /* else we have an addtl wrap at 2^31-1 */ -- cgit