Wireshark-commits: [Wireshark-commits] master-2.6 83f20db: pcapng: fix the magic when bytes are swa
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=83f20db0b12fa34e2336995b141e996235e12104
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
83f20db 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>
(cherry picked from commit 3e53ec5e11e141c37aa26b3472cc45bd4cdbfb0d)
Reviewed-on: https://code.wireshark.org/review/33290
Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
Actions performed:
from 427ceec Fix format_uri().
add 83f20db 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(-)