ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Fix for bug #1156: Display filter "http" fails for http over ssl

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Thu, 2 Nov 2006 18:18:32 -0800
Attached is a fix for bug #1156: "If a dissector depends on a new 
datasource created by a new tvb, that dissector's protocol can't be 
filtered on."


Thanks,
  Steve

Index: epan/dissectors/packet-ssl.c
===================================================================
--- epan/dissectors/packet-ssl.c	(revision 19779)
+++ epan/dissectors/packet-ssl.c	(working copy)
@@ -1148,7 +1148,7 @@
                 ssl_print_text_data("decrypted app data",pi->app_data.data,
                     pi->app_data.data_len);
 
-                call_dissector(association->handle, new_tvb, pinfo, proto_tree_get_root(tree));
+		call_dissector(association->handle, new_tvb, pinfo, tree->parent);
             }
         }
         break;