wireshark/epan/dissectors/pidl/mdssvc.cnf
Michael Mann 16f2aadfc5 Bugfix AFP dissection within MDSSRV. Part of bug 9950.
Change-Id: Ibe2aa48284fe7a507133f5b70a22110bb3bb56cb
Reviewed-on: https://code.wireshark.org/review/973
Reviewed-by: Ralph Böhme <rb@sernet.de>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-04-06 10:32:24 +00:00

24 lines
590 B
INI

MANUAL mdssvc_dissect_element_blob_spotlight_blob
CODE START
static int
mdssvc_dissect_element_blob_spotlight_blob(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, guint8 *drep _U_)
{
tvbuff_t *spotlight_tvb;
dissector_handle_t spotlight_handle;
if (di->conformant_run) {
return offset;
}
spotlight_handle = find_dissector("afp_spotlight");
if (spotlight_handle)
{
spotlight_tvb = tvb_new_subset_remaining(tvb, offset + 16);
return (offset + 16 + call_dissector(spotlight_handle, spotlight_tvb, pinfo, tree));
}
return offset;
}
CODE END