Wireshark-commits: [Wireshark-commits] master 2356415: libwireshark: define ENC_ANTI_HOST_ENDIAN in
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 2 Aug 2020 08:30:22 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2356415cfe8b2edb5cfb94da1281996b66c47568
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

2356415 by Guy Harris (gharris@xxxxxxxxx):

    libwireshark: define ENC_ANTI_HOST_ENDIAN in epan/proto.h.
    
    We have two places where we want to dissect some fields as being in the
    opposite byte ordere from the host on which we're running; move the
    definition of ENC_ANTI_HOST_ENDIAN from packet-socketcan.c to proto.h,
    and use it in packet-enc.c.
    
    Change-Id: I1d0f9b037fe3b8ca6ed774a11063ba518a3922bf
    Reviewed-on: https://code.wireshark.org/review/38023
    Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    

Actions performed:

    from  93260af   [Automatic update for 2020-08-02]
     add  2356415   libwireshark: define ENC_ANTI_HOST_ENDIAN in epan/proto.h.


Summary of changes:
 epan/dissectors/packet-enc.c       | 6 +-----
 epan/dissectors/packet-socketcan.c | 6 ------
 epan/proto.h                       | 6 ++++--
 3 files changed, 5 insertions(+), 13 deletions(-)