URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=658c30dc4b98c7afd1f0a7a5f8380a9399cbb082
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
658c30d by Guy Harris (guy@xxxxxxxxxxxx):
Always use the input file's encapsulation for the output file.
Using WTAP_ENCAP_PER_PACKET if there's more than one interface forces a
format supporting multiple encapsulations even if all interfaces use the
same encapsulation; there's no reason to force that - you might as well
let the user specify pcap format, for example, if that's what they
really want.
(If there are multiple interfaces and they have different
encapsulations, the file encapsulation will be WTAP_ENCAP_PER_PACKET
*anyway*.)
Change-Id: I0e65c06e1ae3ff159ccd27f72cc63014e30a58f3
Reviewed-on: https://code.wireshark.org/review/30658
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from ad2bc77 Just pass on a snapshot length of 0 to the dumper.
add 658c30d Always use the input file's encapsulation for the output file.
Summary of changes:
tshark.c | 8 --------
1 file changed, 8 deletions(-)