tfshark: Fix arguments to write_pdml_proto_tree

Change-Id: Iae6b7940213ea702d72870f1f27c694fd41ba983
Ping-Bug: 13020
Reviewed-on: https://code.wireshark.org/review/25104
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
Stig Bjørlykke 2018-01-02 09:05:19 +01:00
parent 7a2fae2b79
commit 08fda63936
1 changed files with 1 additions and 1 deletions

View File

@ -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: