e515f14
--- flow-tools-0.68/lib/ftstat.c.orig   2005-05-10 21:48:12.000000000 +0600
e515f14
+++ flow-tools-0.68/lib/ftstat.c        2006-04-10 14:59:28.000000000 +0600
e515f14
@@ -11673,10 +11673,10 @@
e515f14
     ftch_recprefix_tag, ftch_recprefix_tagp);
e515f14
 
e515f14
   FT_RECGET_DSTADDR(cur,rec,*fo);
e515f14
-  FT_RECGET_DST_TAG(cur,rec,*fo);
e515f14
+  FT_RECGET_SRC_TAG(cur,rec,*fo);
e515f14
  
e515f14
   ftch_recprefix_tag.prefix = cur.dstaddr;
e515f14
-  ftch_recprefix_tag.tag = cur.dst_tag;
e515f14
+  ftch_recprefix_tag.tag = cur.src_tag;
e515f14
 
e515f14
   /* only use mask if option set */
e515f14
   if (rpt->options & (FT_STAT_OPT_DST_PREFIX_MASK|FT_STAT_OPT_DST_PREFIX_LEN)) {