Hi, All!

  flow-cat does not process first file from the list of files that
includes flows in selected period if set both '-t' and '-T' parametres.
  Below is a patch wich fixes this problem:
=======================================================
--- flow-cat.c.old      Wed Aug 10 11:17:02 2005
+++ flow-cat.c  Wed Aug 10 11:30:58 2005
@@ -377,10 +377,8 @@
           /* all flows between low and high */
           if (time_high && time_low) {

-            time_delta = time_tmp2 - time_tmp1;
-
-            if ((time_tmp1 < time_low) ||
-                ((time_tmp2-time_delta) > time_high)) {
+            if ((time_tmp2 < time_low) ||
+                (time_tmp1 > time_high)) {
               fty->skip = 1;
               goto skip_file;
             }
=======================================================

  This bug present in versions up to 0.68


-- 
Best wishes,
Andrey Semenchuk
Trifle Co., Ltd.
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to