Wireshark-commits: [Wireshark-commits] master 7b6f047: Handle big-endian Prism headers.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 21 Mar 2014 01:46:47 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7b6f0475f0e7b051c9811bf0c3c2859a57df4ab9
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

7b6f047 by Guy Harris (guy@xxxxxxxxxxxx):

    Handle big-endian Prism headers.
    
    Apparently, some systems write out big-endian Prism headers (probably
    big-endian-MIPS-based Wi-Fi APs running $LINUX_DISTRIBUTION and the
    like), so check for both big-endian and little-endian message codes,
    and, for the fields in the header, use the byte order that matched.
    
    Change-Id: Ia13df606676bb7dbc5d12fe4e297681bebb6f478
    Reviewed-on: https://code.wireshark.org/review/759
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  0ec20c3   brackets around MAKE_TYPE_VAL's definition
    adds  7b6f047   Handle big-endian Prism headers.


Summary of changes:
 epan/dissectors/packet-ieee80211-prism.c |  102 ++++++++++++++++++------------
 1 file changed, 63 insertions(+), 39 deletions(-)