Wireshark-commits: [Wireshark-commits] master bc990fc: USB: consider the device class when we try t

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Nov 2014 19:07:38 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bc990fcc35c13f3f909355e9479ec52b08472306
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

bc990fc by Martin Kaiser (wireshark@xxxxxxxxx):

    USB: consider the device class when we try to select the next dissector
    
    at the moment, we only use the interface class, even in situations where
    it's not applicable (e.g. control request that's not addressed to an
    interface or an endpoint) - this is a hack that works because some
    dissectors register for interface class "unknown", I'm trying to make
    this workaround obsolete
    
    Change-Id: I6bf4253a2f8bf5a75ea1a08c3e52d36f80abd7ab
    Reviewed-on: https://code.wireshark.org/review/5215
    Petri-Dish: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Sean Stalley <seanstalley@xxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    

Actions performed:

    from  0f7aedc   Use correct offset and lenght for Choice EOC.
    adds  bc990fc   USB: consider the device class when we try to select the next dissector


Summary of changes:
 epan/dissectors/packet-usb.c |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)