aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurm <wurm@elastic.co>2017-11-02 19:14:28 +0000
committerMichael Mann <mmann78@netscape.net>2017-11-02 20:49:45 +0000
commitbe625b9be781e469456d01053336b18cfba63ede (patch)
tree4bb4a5aaff4c8bec76dd53316a0e4b2c98bd49fc
parent5d9c8ecbc1fe53aa17eba0b29d7f5c397f86c514 (diff)
Fix Elasticsearch hex dump
Change-Id: I5b2006a74e95759afce518aaadfe47c54978476a Reviewed-on: https://code.wireshark.org/review/24215 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--epan/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/print.c b/epan/print.c
index 5ba17d6b47..6973e345b4 100644
--- a/epan/print.c
+++ b/epan/print.c
@@ -1376,7 +1376,7 @@ ek_write_attr(GSList *attr_instances, write_json_data *pdata)
{
GSList *current_node = attr_instances;
proto_node *pnode = (proto_node *) current_node->data;
- field_info *fi = NULL;
+ field_info *fi = PNODE_FINFO(pnode);
// Hex dump -x
if (pdata->print_hex && fi->length > 0 && fi->hfinfo->id != hf_text_only) {