From Daniel via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6461 :
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 18 Oct 2011 01:05:57 +0000 (01:05 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 18 Oct 2011 01:05:57 +0000 (01:05 +0000)
Register the USB dissector by name.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39453 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-usb.c

index c27b0e071cdc4d2ebf1f799407b2c0046b0fb52b..e40efdc902e7609953d5157363a788bb47f2f7f9 100644 (file)
@@ -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);