diff options
author | Michael Mann <mmann78@netscape.net> | 2015-05-24 21:10:29 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-05-26 12:09:28 +0000 |
commit | a713b1314d3d4ba79c1bec2f5dc930e752b6e9b9 (patch) | |
tree | e39e792fed0f5773a00ae72363e537636182f20d /epan/dissectors/file-file.c | |
parent | da93752b6d3c49274a46f6b938d576c7b4bf2ac4 (diff) |
Duplicate the presence of the "ignored" field in order to remove proto_tree_add_text.
Change-Id: I0906c28656a104210f6fd1f95c9cee7899308538
Reviewed-on: https://code.wireshark.org/review/8619
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/file-file.c')
-rw-r--r-- | epan/dissectors/file-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/file-file.c b/epan/dissectors/file-file.c index b1e1ff08d1..acb8e19607 100644 --- a/epan/dissectors/file-file.c +++ b/epan/dissectors/file-file.c @@ -186,7 +186,7 @@ dissect_file_record(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, if (pinfo->fd->flags.ignored) { /* Ignored package, stop handling here */ col_set_str(pinfo->cinfo, COL_INFO, "<Ignored>"); - proto_tree_add_text (tree, tvb, 0, -1, "This record is marked as ignored"); + proto_tree_add_boolean_format(tree, hf_file_ignored, tvb, 0, -1, TRUE, "This record is marked as ignored"); return tvb_captured_length(tvb); } |