flow-tools/flow-tools-0.68.rpt72.patch
2006-11-16 23:03:36 +00:00

15 lines
582 B
Diff

--- flow-tools-0.68/lib/ftstat.c.orig 2005-05-10 21:48:12.000000000 +0600
+++ flow-tools-0.68/lib/ftstat.c 2006-04-10 14:59:28.000000000 +0600
@@ -11673,10 +11673,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)) {