diff -urd flow-tools-0.67.orig/ChangeLog flow-tools-0.67.new/ChangeLog
--- flow-tools-0.67.orig/ChangeLog	2003-12-04 08:12:50.000000000 +0200
+++ flow-tools-0.67.new/ChangeLog	2004-10-15 11:36:57.420713415 +0300
@@ -1,3 +1,5 @@
+* flow-xlate: tag-mask fix - Cougar <cougar@random.ee>
+
 * 12-4-2003 flow-tools 0.67 released. 
 
 * flow-export: pgsql support from wyu@ateneo.edu
diff -urd flow-tools-0.67.orig/lib/ftxlate.c flow-tools-0.67.new/lib/ftxlate.c
--- flow-tools-0.67.orig/lib/ftxlate.c	2003-11-25 07:41:33.000000000 +0200
+++ flow-tools-0.67.new/lib/ftxlate.c	2004-10-15 11:32:56.774017333 +0300
@@ -1155,8 +1155,8 @@
 
   ftxtm = ftxa->action;
 
-  *((u_int32*)(rec+(*fo).srcaddr)) &= ftxtm->src_mask;
-  *((u_int32*)(rec+(*fo).dstaddr)) &= ftxtm->dst_mask;
+  *((u_int32*)(rec+(*fo).src_tag)) &= ftxtm->src_mask;
+  *((u_int32*)(rec+(*fo).dst_tag)) &= ftxtm->dst_mask;
 
 } /*  eval_tag_mask */
 
