Wireshark-dev: Re: [Wireshark-dev] Disable MATE dissector will always add a Data entry in the p
can you try if this fixes it.
Index: packet.c
===================================================================
--- packet.c (revision 22874)
+++ packet.c (working copy)
@@ -1844,7 +1844,7 @@
extern void call_all_postdissectors(tvbuff_t *tvb, packet_info
*pinfo, proto_tree *tree) {
guint i;
for(i=0;i<num_of_postdissectors;i++) {
- call_dissector((dissector_handle_t)
g_ptr_array_index(post_dissectors,i),
+ call_dissector_only((dissector_handle_t)
g_ptr_array_index(post_dissectors,i),
tvb,pinfo,tree);
}
}
On Jan 15, 2008 11:16 PM, Stig Bjørlykke <stig@xxxxxxxxxxxxx> wrote:
> Hi.
>
> I found that if I disable the MATE dissector (plugin) I always get an
> extra "Data (x bytes)" entry in the packet details pane, covering all
> bytes in the packet. But I can't find why this is happening. This
> does not happend for any other dissector.
>
> Try disabling all protocols, and you will get two data entries.
>
>
> --
> Stig Bjørlykke
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan