[netflow-tools] "Fatal error - exiting immediately"
Damien Miller
djm at mindrot.org
Thu Nov 17 11:57:10 EST 2005
On Thu, 17 Nov 2005, Tony and Robyn Lewis wrote:
> Applied, compiled, ran - no diff to output:
Try this, it shouldn't matter unless your compiler is buggy. What version
of gcc are you using? something from the 4.x series perhaps?
-d
-------------- next part --------------
Index: softflowd.c
===================================================================
RCS file: /var/cvs/softflowd/softflowd.c,v
retrieving revision 1.84
diff -u -p -r1.84 softflowd.c
--- softflowd.c 1 Oct 2005 00:14:21 -0000 1.84
+++ softflowd.c 17 Nov 2005 00:55:45 -0000
@@ -1749,6 +1755,7 @@ main(int argc, char **argv)
/* Main processing loop */
gettimeofday(&flowtrack.system_boot_time, NULL);
stop_collection_flag = 0;
+ memset(cb_ctxt, '\0', sizeof(cb_ctxt));
cb_ctxt.ft = &flowtrack;
cb_ctxt.linktype = linktype;
cb_ctxt.want_v6 = target.dialect->v6_capable || always_v6;
More information about the netflow-tools
mailing list