From: morriss Date: Tue, 18 Oct 2011 01:05:57 +0000 (+0000) Subject: From Daniel via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6461 : X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=a19f2b423e56245ac6cf71ea2b0863a9c4bc2251;ds=sidebyside From Daniel via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6461 : Register the USB dissector by name. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39453 f5534014-38df-0310-8fa8-9805f1628bb7 --- diff --git a/epan/dissectors/packet-usb.c b/epan/dissectors/packet-usb.c index c27b0e071c..e40efdc902 100644 --- a/epan/dissectors/packet-usb.c +++ b/epan/dissectors/packet-usb.c @@ -2734,6 +2734,7 @@ proto_register_usb(void) proto_usb = proto_register_protocol("USB", "USB", "usb"); proto_register_field_array(proto_usb, hf, array_length(hf)); proto_register_subtree_array(usb_subtrees, array_length(usb_subtrees)); + register_dissector("usb", dissect_linux_usb, proto_usb); usb_bulk_dissector_table = register_dissector_table("usb.bulk", "USB bulk endpoint", FT_UINT8, BASE_DEC);