aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2011-10-18 01:05:57 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2011-10-18 01:05:57 +0000
commit431332092de51e3cc40148caefc2e7b7ae49cf4f (patch)
tree85720100455effe2cd0b5a238329bb4ccc02a06e
parent49fed7ed0d749ba57190f7d498fb49db7fa36358 (diff)
From Daniel via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6461 :
Register the USB dissector by name. svn path=/trunk/; revision=39453
-rw-r--r--epan/dissectors/packet-usb.c1
1 files changed, 1 insertions, 0 deletions
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);