aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-03-15 14:52:12 -0700
committerGuy Harris <gharris@sonic.net>2021-03-15 14:52:12 -0700
commit9bf838b2eabb888a6618e7213a9a37c6f3a32569 (patch)
tree433b3b0b54ef61ca786b68bab26534b0ceefee49 /tshark.c
parent8795edd57c240eb335bc06d513d8d84668812358 (diff)
tap_export_pdu: finish the job of reporting errors.
Provide the pathname of the file, and the frame number, to the error routines.
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 10bf2249e7..6378afd8ba 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2074,7 +2074,7 @@ main(int argc, char *argv[])
/* Write to our output file with this comment (if the type supports it,
* otherwise exp_pdu_open() will ignore the comment) */
comment = g_strdup_printf("Dump of PDUs from %s", cf_name);
- exp_pdu_status = exp_pdu_open(&exp_pdu_tap_data,
+ exp_pdu_status = exp_pdu_open(&exp_pdu_tap_data, exp_pdu_filename,
out_file_type, exp_fd, comment,
&err, &err_info);
g_free(comment);