Add register_dissector() call to allow being called as a subdissector
Index: packet-mysql.c
===================================================================
--- packet-mysql.c      (revision 20004)
+++ packet-mysql.c      (working copy)
@@ -901,6 +901,8 @@
                                       "Whether the MySQL dissector should 
reassemble MySQL buffers spanning multiple TCP segments."
                                       " To use this option, you must also 
enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol 
settings.",
                                       &mysql_desegment);
+                              
+       register_dissector("mysql", dissect_mysql, proto_mysql);                
                       
 }
 
 
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to