Register the USB dissector by name.

svn path=/trunk/; revision=39453
This commit is contained in:
Jeff Morriss 2011-10-18 01:05:57 +00:00
parent 49fed7ed0d
commit 431332092d
1 changed files with 1 additions and 0 deletions

View 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);