The signature for load_cap_file changed in 21211
Update also the code path for when not compiling with pcap so that code path also uses the new signature. svn path=/trunk/; revision=21219
This commit is contained in:
parent
d1bb540b70
commit
910299acb1
2
tshark.c
2
tshark.c
|
@ -1494,7 +1494,7 @@ main(int argc, char *argv[])
|
||||||
capture_opts.has_autostop_packets ? capture_opts.autostop_packets : 0,
|
capture_opts.has_autostop_packets ? capture_opts.autostop_packets : 0,
|
||||||
capture_opts.has_autostop_filesize ? capture_opts.autostop_filesize : 0);
|
capture_opts.has_autostop_filesize ? capture_opts.autostop_filesize : 0);
|
||||||
#else
|
#else
|
||||||
err = load_cap_file(&cfile, NULL, out_file_type);
|
err = load_cap_file(&cfile, NULL, out_file_type, 0, 0);
|
||||||
#endif
|
#endif
|
||||||
if (err != 0) {
|
if (err != 0) {
|
||||||
epan_cleanup();
|
epan_cleanup();
|
||||||
|
|
Loading…
Reference in New Issue