aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tshark.c b/tshark.c
index a871301c8d..d378ad72b3 100644
--- a/tshark.c
+++ b/tshark.c
@@ -3136,20 +3136,20 @@ process_cap_file(capture_file *cf, char *save_file, int out_file_type,
if (strcmp(save_file, "-") == 0) {
/* Write to the standard output. */
pdh = wtap_dump_open_stdout(out_file_type, linktype,
- snapshot_length, FALSE /* compressed */, &err);
+ snapshot_length, FALSE /* compressed */, NULL, &err);
} else {
pdh = wtap_dump_open(save_file, out_file_type, linktype,
- snapshot_length, FALSE /* compressed */, &err);
+ snapshot_length, FALSE /* compressed */, NULL, &err);
}
}
else {
tshark_debug("tshark: writing format type %d, to %s", out_file_type, save_file);
if (strcmp(save_file, "-") == 0) {
/* Write to the standard output. */
- pdh = wtap_dump_open_stdout_ng(out_file_type, linktype,
+ pdh = wtap_dump_open_stdout(out_file_type, linktype,
snapshot_length, FALSE /* compressed */, &ng_params, &err);
} else {
- pdh = wtap_dump_open_ng(save_file, out_file_type, linktype,
+ pdh = wtap_dump_open(save_file, out_file_type, linktype,
snapshot_length, FALSE /* compressed */, &ng_params, &err);
}
}