Variable hdr_len in flow-send.c was not initialized prior to usage in case
we aren't using spoofing. Fixed.

---

 src/flow-send.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

e9825a203d8b36576c8b8e92b4ab0ceb74cd0b05
diff --git a/src/flow-send.c b/src/flow-send.c
index 83ca926..ad87024 100644
--- a/src/flow-send.c
+++ b/src/flow-send.c
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
   u_int32 privacy_mask;
   unsigned int v1, v2, one;
   int i, n, ret, tx_delay, udp_sock;
-  int src_ip_spoof, hdr_len;
+  int src_ip_spoof, hdr_len = 0;
   void *rec;
 
   /* init fterr */
-- 
1.3.3

_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to