Before dissecting a packet, clear the filter field and value stored with
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 24 Aug 2002 10:41:40 +0000 (10:41 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 24 Aug 2002 10:41:40 +0000 (10:41 +0000)
each column for use by the "Match Selected" and "Prepare Selected"
functions in the packet list pane.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6080 f5534014-38df-0310-8fa8-9805f1628bb7

epan/packet.c

index d500f60a23447779408009a96530e0785f94f57f..f9ebb652de99a07ef3c9748cbb325311c92a71b6 100644 (file)
@@ -1,7 +1,7 @@
 /* packet.c
  * Routines for packet disassembly
  *
- * $Id: packet.c,v 1.76 2002/08/21 21:25:21 tpot Exp $
+ * $Id: packet.c,v 1.77 2002/08/24 10:41:40 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -256,6 +256,8 @@ dissect_packet(epan_dissect_t *edt, union wtap_pseudo_header *pseudo_header,
                for (i = 0; i < cinfo->num_cols; i++) {
                        cinfo->col_buf[i][0] = '\0';
                        cinfo->col_data[i] = cinfo->col_buf[i];
+                       cinfo->col_expr[i][0] = '\0';
+                       cinfo->col_expr_val[i][0] = '\0';
                }
 
                col_set_writable(cinfo, TRUE);