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>
This commit is contained in:
Christoph Wurm 2017-11-02 19:14:28 +00:00 committed by Michael Mann
parent 5d9c8ecbc1
commit be625b9be7
1 changed files with 1 additions and 1 deletions

View File

@ -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) {