Wireshark-bugs: [Wireshark-bugs] [Bug 6461] New: Patch to add register_dissector method for USB

Date: Mon, 17 Oct 2011 05:37:32 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6461

           Summary: Patch to add register_dissector method for USB
                    dissector
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: threed.daniel@xxxxxx


Created an attachment (id=7250)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7250)
Patch which adds the call to the register_dissector method.

Build Information:
Version 1.7.0 (SVN Rev Unknown from unknown)

Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GTK+ 2.22.1, with Cairo 1.10.2, with Pango 1.28.3, with
GLib 2.26.1, with WinPcap (version unknown), with libz 1.2.5, without POSIX
capabilities, with threads support, with SMI 0.4.8, with c-ares 1.7.1, with Lua
5.1, without Python, with GnuTLS 2.10.3, with Gcrypt 1.4.6, with MIT Kerberos,
with GeoIP, with PortAudio V19-devel (built Oct 17 2011), with AirPcap.

Running on 64-bit Windows 7, build 7600, with WinPcap version 4.1.2 (packet.dll
version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b (20091008),
GnuTLS 2.10.3, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
I have an own plugin which shall dissect USB packets, which are contained
within a UDP packet.
So I tried to find the USB dissector with find_dissector("usb"), but found out,
that the USB dissector doesn't register itself.

So I created a patch for packet-usb.c which calls the register_dissector method
for the USB dissector.

The call to this method was removed in Revision 20632 without a comment why it
had been removed.

Greetings,
Daniel

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.