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
This commit is contained in:
Stig Bjørlykke 2008-01-15 23:31:37 +00:00
parent 01b304a6b7
commit f60062dccc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}