Wireshark-dev: [Wireshark-dev] usb dissecotr: register_dissector question
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sun, 15 Oct 2006 14:21:01 +0200
When looking at the dissector, I wondered whether the following patch
would be ok/appropriate:

Index: epan/dissectors/packet-usb.c
===================================================================
--- epan/dissectors/packet-usb.c       (revision 19541)
+++ epan/dissectors/packet-usb.c       (working copy)
@@ -556,7 +556,7 @@
     proto_register_field_array(proto_usb, hf, array_length(hf));
     proto_register_subtree_array(usb_subtrees, array_length(usb_subtrees));

-    register_dissector("eth", dissect_usb, proto_usb);
+    register_dissector("usb", dissect_usb, proto_usb);
 }

 void



 ciao
    Joerg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.