forked from osmocom/wireshark
tshark.c: Change "Live captures can only be saved in libpcap format" to "[...] in pcap or pcapng format"
Change-Id: I18dd0d15e261ecbc1ec086b4870a994afc7665ee Reviewed-on: https://code.wireshark.org/review/1953 Reviewed-by: Bill Meier <wmeier@newsguy.com>
This commit is contained in:
parent
3d23cbd11f
commit
dc02627adf
2
tshark.c
2
tshark.c
|
@ -1826,7 +1826,7 @@ main(int argc, char *argv[])
|
|||
/* When capturing, we only support writing pcap or pcap-ng format. */
|
||||
if (out_file_type != WTAP_FILE_TYPE_SUBTYPE_PCAP &&
|
||||
out_file_type != WTAP_FILE_TYPE_SUBTYPE_PCAPNG) {
|
||||
cmdarg_err("Live captures can only be saved in libpcap format.");
|
||||
cmdarg_err("Live captures can only be saved in pcap or pcapng format.");
|
||||
return 1;
|
||||
}
|
||||
if (global_capture_opts.capture_comment &&
|
||||
|
|
Loading…
Reference in New Issue