[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-dev
Subject:    Re: [Wireshark-dev] [PATCH] packet-mysql.c: Trivial change
From:       Jaap Keuter <jaap.keuter () xs4all ! nl>
Date:       2006-11-30 7:15:50
Message-ID: 20061130081523.T87943-100000 () xs3 ! xs4all ! nl
[Download RAW message or body]

Hi,

Checked in.

Thanx,
Jaap

On Wed, 29 Nov 2006, Martin Warnes wrote:

> Attached updated patch to use "dissect_mysql_pdu" instead of
> "dissect_mysql" when registering the protocol dissector.
> 
> Regards .. Martin
> 
> Martin Warnes wrote the following on 29/11/2006 10:50:
> > Obviously not so trivial as dissect_mysql does reassembly, so it looks
> > like I shoud register dissect_mysql_pdu instead
> > 
> > ... or would this only work if the higher level dissector also did
> > reassembly which mine does?
> > 
> > 
> > 
> > Martin Warnes wrote the following on 29/11/2006 09:37:
> > 
> > > 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic