From c3f3bd7fa89af1ccd15440cf401697fc32814ed6 Mon Sep 17 00:00:00 2001 From: Martin Kacer Date: Mon, 20 Jun 2016 11:03:40 +0200 Subject: tshark JSON and Elasticsearch output fix Fixed json and ek escape function Fixed -j protocol filter to do exact match Fixed -T json to correctly close json Added -j protocol filter also to pdml output Bug: 11754 Change-Id: I02f274e4a5a02346922b37bbe946c10340c242ea Reviewed-on: https://code.wireshark.org/review/16034 Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin Reviewed-by: Guy Harris --- tfshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tfshark.c') diff --git a/tfshark.c b/tfshark.c index 7b8febc1ac..d9712fc4b1 100644 --- a/tfshark.c +++ b/tfshark.c @@ -2074,7 +2074,7 @@ print_packet(capture_file *cf, epan_dissect_t *edt) break; case WRITE_XML: - write_pdml_proto_tree(edt, stdout); + write_pdml_proto_tree(NULL, edt, stdout); printf("\n"); return !ferror(stdout); case WRITE_FIELDS: -- cgit v1.2.1