wireshark/writecap
Dario Lombardo 3e53ec5e11 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@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-05-20 18:06:25 +00:00
..
.editorconfig
CMakeLists.txt spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
pcapio.c pcapng: fix the magic when bytes are swapped. 2019-05-20 18:06:25 +00:00
pcapio.h writecap: rename pcapng_write_session_block to _section_block 2018-12-18 23:41:41 +00:00