forked from osmocom/wireshark
From Daniel via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6461 :
Register the USB dissector by name. svn path=/trunk/; revision=39453
This commit is contained in:
parent
49fed7ed0d
commit
431332092d
|
@ -2734,6 +2734,7 @@ proto_register_usb(void)
|
||||||
proto_usb = proto_register_protocol("USB", "USB", "usb");
|
proto_usb = proto_register_protocol("USB", "USB", "usb");
|
||||||
proto_register_field_array(proto_usb, hf, array_length(hf));
|
proto_register_field_array(proto_usb, hf, array_length(hf));
|
||||||
proto_register_subtree_array(usb_subtrees, array_length(usb_subtrees));
|
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_dissector_table = register_dissector_table("usb.bulk",
|
||||||
"USB bulk endpoint", FT_UINT8, BASE_DEC);
|
"USB bulk endpoint", FT_UINT8, BASE_DEC);
|
||||||
|
|
Loading…
Reference in New Issue