Wireshark-commits: [Wireshark-commits] master-2.0 8d706b7: Check for pcapng files when reading from
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8d706b7ee0f6a1ff663904aed3565507b52c76e2
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
8d706b7 by Guy Harris (guy@xxxxxxxxxxxx):
Check for pcapng files when reading from a pipe.
That way, people don't get confused by an "Unrecognized libpcap format"
error - it's *not* libpcap format!
Also, improve *that* message to say "...or not libpcap data", and put a
period at the end of the error messages.
Change-Id: I175f9399fe99ce424f1d83596b7330e1fa5c0625
Reviewed-on: https://code.wireshark.org/review/16349
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 01c6483b45a91f8c03eeb4bf80a15a5e174ffb18)
Reviewed-on: https://code.wireshark.org/review/16350
Actions performed:
from f961e5b Qt: Update scrollbars when change byte view format
adds 8d706b7 Check for pcapng files when reading from a pipe.
Summary of changes:
dumpcap.c | 51 +++++++++++++++++++++++++++++----------------------
1 file changed, 29 insertions(+), 22 deletions(-)