fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9448
authorMartin Kaiser <wireshark@kaiser.cx>
Mon, 18 Nov 2013 11:16:32 +0000 (11:16 -0000)
committerMartin Kaiser <wireshark@kaiser.cx>
Mon, 18 Nov 2013 11:16:32 +0000 (11:16 -0000)
pass data parameter to afp dissector

svn path=/trunk/; revision=53410

epan/dissectors/packet-atalk.c

index 2575a6473a5a813d8bd7c8648c4e74004d582cb2..1b094a1c9c70b75d3499bd3215c151c760191734 100644 (file)
@@ -1375,7 +1375,7 @@ dissect_asp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
       offset += 2;
       len = tvb_reported_length_remaining(tvb,offset);
       new_tvb = tvb_new_subset(tvb, offset,-1,len);
-      call_dissector(afp_handle, new_tvb, pinfo, tree);
+      call_dissector_with_data(afp_handle, new_tvb, pinfo, tree, aspinfo);
       break;
     case ASPFUNC_WRTCONT:
       proto_tree_add_item(asp_tree, hf_asp_session_id, tvb, offset, 1, ENC_BIG_ENDIAN);
@@ -1427,7 +1427,7 @@ dissect_asp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
       offset += 4;
       len = tvb_reported_length_remaining(tvb,offset);
       new_tvb = tvb_new_subset(tvb, offset,-1,len);
-      call_dissector(afp_handle, new_tvb, pinfo, tree);
+      call_dissector_with_data(afp_handle, new_tvb, pinfo, tree, aspinfo);
       break;
     case ASPFUNC_TICKLE:
     case ASPFUNC_WRTCONT: