Wireshark-commits: [Wireshark-commits] master 3e53ec5: pcapng: fix the magic when bytes are swapped
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3e53ec5e11e141c37aa26b3472cc45bd4cdbfb0d
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
3e53ec5 by Dario Lombardo (lomato@xxxxxxxxx):
pcapng: fix the magic when bytes are swapped.
This value is used when checking if the file was generated on a
machine with different endianess. The error message changes from
"Unrecognized pcapng format or not pcapng data."
to
"dumpcap: Interface 0 is big endian but we're little endian."
Fix dumpcap.c and pcapio.c.
Ping-Bug: 15754
Change-Id: I3a31f873f01bcb3f1324410e70f29f285e56c715
Reviewed-on: https://code.wireshark.org/review/33274
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from 6cfc25c simple_dialog(Qt): fix extra ';' after member function definition
add 3e53ec5 pcapng: fix the magic when bytes are swapped.
Summary of changes:
wiretap/pcapng.h | 2 +-
writecap/pcapio.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)