URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2356415cfe8b2edb5cfb94da1281996b66c47568 Submitter: "Guy Harris <ghar...@sonic.net>" Changed: branch: master Repository: wireshark
Commits: 2356415 by Guy Harris (ghar...@sonic.net): 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 <ghar...@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <ghar...@sonic.net> 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(-) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe