Wireshark mailing list archives

Question about plugin dissector in 1.6.0.


From: Huaqing Wang <whuaqing () gmail com>
Date: Tue, 21 Jun 2011 11:53:25 -0400

Hi, I met this error in wireshark-1.6.0:

11:32:38          Err  file packet.c: line 1531 (heur_dissector_add):
assertion failed: (sub_dissectors != NULL)
Aborted

The thing I do is I make a directory called foo under plugins.
and add  AUTHORS    CMakeLists.txt  foo.la    Makefile.am      Makefile.in
  moduleinfo.h      packet-foo.c  packet-foo.lo  plugin.lo
ChangeLog  COPYING         Makefile  Makefile.common  Makefile.nmake
 moduleinfo.nmake  packet-foo.h  plugin.c       plugin.rc.in
Files to the directory. Made change to packet-foo.c according to developer's
guide.

I added foo to basically where gryphon appears in other files.
In foo I didn't use heur_dissector_add.

So why do I met that error, could someone help me about that?

Thanks a lot.

Michael
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: