From Martin Warnesi:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 30 Nov 2006 07:15:17 +0000 (07:15 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 30 Nov 2006 07:15:17 +0000 (07:15 +0000)
Attached updated patch to use "dissect_mysql_pdu" instead of
"dissect_mysql" when registering the protocol dissector.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20021 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-mysql.c

index 6ebc8e6ce0517e74a23633ad1ce8658ecd0f8cd7..2a8a405efdd12c3b12f35431e322ee9e35ebd760 100644 (file)
@@ -901,6 +901,8 @@ void proto_register_mysql(void)
                                       "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_pdu, proto_mysql);                                   
 }