Wireshark-dev: [Wireshark-dev] [PATCH] packet-mysql.c: Trivial change
From: Martin Warnes <[email protected]>
Date: Wed, 29 Nov 2006 09:37:17 +0000
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);				       
 }