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