Wireshark-commits: [Wireshark-commits] master-2.0 d438aab: 6LoWPAN: correct IPHC traffic class deco

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 12 Jan 2016 19:37:30 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d438aabb80f131b080a7ebcf0e5981b73ac81d46
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

d438aab by Kevin Bracey (kevin.bracey@xxxxxxx):

    6LoWPAN: correct IPHC traffic class decompression
    
    Traffic class values from IPHC headers were shown correctly in the IPHC
    dissection, but not correctly inserted into the expanded IPv6 packet.
    
    Problem was only visible on little-endian systems - the previous
    code did work if big-endian.
    
    Error was not present in HC1 decompression, but both IPHC and HC1
    IPv6 construction code clarified by avoiding writing overlapping union
    members.
    
    Bug: 11971
    Change-Id: I3515f18c892f1fc28ef7f8a0830a79d134e81f48
    Reviewed-on: https://code.wireshark.org/review/13109
    Petri-Dish: João Valverde <j@xxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: João Valverde <j@xxxxxx>
    (cherry picked from commit d6ca6cbe7421a3eb75494c3aa955ff5d7c07a52a)
    Reviewed-on: https://code.wireshark.org/review/13228
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  b2931dc   Use current text of combo box when getting display filter.
    adds  d438aab   6LoWPAN: correct IPHC traffic class decompression


Summary of changes:
 epan/dissectors/packet-6lowpan.c |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)