Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master-1.10 4270fc1: Handle big-endian Prism headers.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 21 Mar 2014 04:20:16 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4270fc1590c6de3fd73bbf61ecb19789da2c8087
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

4270fc1 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>
    Reviewed-on: https://code.wireshark.org/review/760
    

Actions performed:

    from  cd35100   Fix 1.10 Buildbot...
    adds  4270fc1   Handle big-endian Prism headers.


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