diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-01-15 23:31:37 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-01-15 23:31:37 +0000 |
commit | f60062dccc17d2462bed5c1e9ac3772eb3a8f637 (patch) | |
tree | 823e99e844d61c1a9d1e115a1faf51690e2e11bf | |
parent | 01b304a6b7c896192b00e162252ce0cc7026f7fb (diff) |
Call post dissectors with call_dissector_only() to avoid an extra Data entry
if post dissectors are disabled, as pointed out by LEGO.
svn path=/trunk/; revision=24109
-rw-r--r-- | epan/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/packet.c b/epan/packet.c index 20f1f2f71b..07f201a2c8 100644 --- a/epan/packet.c +++ b/epan/packet.c @@ -1868,7 +1868,7 @@ void register_postdissector(dissector_handle_t handle) { 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); } } |