From 08fda63936f044e5e61f48f11067f5b80eac045c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Tue, 2 Jan 2018 09:05:19 +0100 Subject: [PATCH] tfshark: Fix arguments to write_pdml_proto_tree MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iae6b7940213ea702d72870f1f27c694fd41ba983 Ping-Bug: 13020 Reviewed-on: https://code.wireshark.org/review/25104 Reviewed-by: Stig Bjørlykke --- tfshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfshark.c b/tfshark.c index f0e4b92ecc..ddc770d051 100644 --- a/tfshark.c +++ b/tfshark.c @@ -2001,7 +2001,7 @@ print_packet(capture_file *cf, epan_dissect_t *edt) break; case WRITE_XML: - write_pdml_proto_tree(NULL, NULL, PF_NONE, edt, stdout, FALSE); + write_pdml_proto_tree(NULL, NULL, PF_NONE, edt, &cf->cinfo, stdout, FALSE); printf("\n"); return !ferror(stdout); case WRITE_FIELDS: