summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorMartin Kacer <kacer.martin@gmail.com>2016-06-28 13:01:25 +0200
committerGuy Harris <guy@alum.mit.edu>2016-06-29 08:29:16 +0000
commitceae9e4d1fff4500b285dba021c3f239ff87779e (patch)
treea9f61fe0b0a498030098f6f5aa62e15b08222e76 /file.c
parent348e364551782237800896920f32b10cc18e9f36 (diff)
downloadwireshark-ceae9e4d1fff4500b285dba021c3f239ff87779e.tar.gz
tshark fields filter added for other outputs
-e fields filter addded to ek|json|pdml output. Bug: 12529 Change-Id: I1f0f8772eefceb5b71927925ce0c34af483571b9 Reviewed-on: https://code.wireshark.org/review/16193 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 49ecf2fc21..ba84efbd13 100644
--- a/file.c
+++ b/file.c
@@ -2544,7 +2544,7 @@ write_pdml_packet(capture_file *cf, frame_data *fdata,
epan_dissect_run(&args->edt, cf->cd_t, phdr, frame_tvbuff_new(fdata, pd), fdata, NULL);
/* Write out the information in that tree. */
- write_pdml_proto_tree(NULL, &args->edt, args->fh);
+ write_pdml_proto_tree(NULL, NULL, &args->edt, args->fh);
epan_dissect_reset(&args->edt);
@@ -2838,7 +2838,7 @@ write_json_packet(capture_file *cf, frame_data *fdata,
epan_dissect_run(&args->edt, cf->cd_t, phdr, frame_tvbuff_new(fdata, pd), fdata, NULL);
/* Write out the information in that tree. */
- write_json_proto_tree(args->print_args, NULL, &args->edt, args->fh);
+ write_json_proto_tree(NULL, args->print_args, NULL, &args->edt, args->fh);
epan_dissect_reset(&args->edt);