flow-report in version 0.67 uses the destination tag instead of
the source tag in report type ip-destination-address/source-tag.

Attached is a patch for version 0.67.

-- hhg
--- ftstat.c    Tue Apr 13 01:16:29 2004
+++ ftstat-srctag.c     Tue Apr 13 01:16:39 2004
@@ -11636,10 +11636,10 @@
     ftch_recprefix_tag, ftch_recprefix_tagp);
 
   FT_RECGET_DSTADDR(cur,rec,*fo);
-  FT_RECGET_DST_TAG(cur,rec,*fo);
+  FT_RECGET_SRC_TAG(cur,rec,*fo);
  
   ftch_recprefix_tag.prefix = cur.dstaddr;
-  ftch_recprefix_tag.tag = cur.dst_tag;
+  ftch_recprefix_tag.tag = cur.src_tag;
 
   /* only use mask if option set */
   if (rpt->options & (FT_STAT_OPT_DST_PREFIX_MASK|FT_STAT_OPT_DST_PREFIX_LEN)) {

Attachment: pgp00000.pgp
Description: PGP signature

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

Reply via email to