From Francisco Alcoba: declare the tap data as static, so it's still
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 22 Oct 2004 06:05:03 +0000 (06:05 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 22 Oct 2004 06:05:03 +0000 (06:05 +0000)
there when the tap is called (which happens after dissection is
complete).

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

epan/dissectors/packet-mtp3.c

index c4061c20407e4bfa2f5596fc7506475c39604701..29fea877d4431dde211d3b74cbbe4cd6b99216b6 100644 (file)
@@ -465,7 +465,7 @@ dissect_mtp3_payload(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 static void
 dissect_mtp3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
-  mtp3_tap_rec_t       tap_rec;
+  static mtp3_tap_rec_t        tap_rec;
 
   /* Set up structures needed to add the protocol subtree and manage it */
   proto_item *mtp3_item = NULL;