From 431332092de51e3cc40148caefc2e7b7ae49cf4f Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 18 Oct 2011 01:05:57 +0000 Subject: [PATCH] From Daniel via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6461 : Register the USB dissector by name. svn path=/trunk/; revision=39453 --- epan/dissectors/packet-usb.c | 1 + 1 file changed, 1 insertion(+) 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);