diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-11-25 19:40:12 +0100 |
---|---|---|
committer | Michal Labedzki <michal.labedzki@tieto.com> | 2014-11-28 11:26:09 +0000 |
commit | 3355ed6b7ef7d57c75977b0459adf8d219048581 (patch) | |
tree | 6849571be5978fbc6491cd28e8ebba850134259f /epan/dissectors/file-elf.c | |
parent | e8cda3b1bd17b60aaddd3340faaa22940640e7a6 (diff) |
elf: fix FDE Count formatting
Displays the FDE Count as a number, not a series of bytes.
Change-Id: I60dd426cb5305a5001a8200578008b7c4a99c64e
Reviewed-on: https://code.wireshark.org/review/5489
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/file-elf.c')
-rw-r--r-- | epan/dissectors/file-elf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/file-elf.c b/epan/dissectors/file-elf.c index a5086f3df0..4a67f29686 100644 --- a/epan/dissectors/file-elf.c +++ b/epan/dissectors/file-elf.c @@ -917,7 +917,8 @@ dissect_eh_frame_hdr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *segment_ } } - proto_tree_add_item(segment_tree, hf_elf_eh_frame_hdr_fde_count, tvb, offset, fde_count_length, machine_encoding); + proto_tree_add_item(segment_tree, hf_elf_eh_frame_hdr_fde_count, tvb, offset, + fde_count_length, machine_encoding); offset += fde_count_length; if (table_entry_length == LENGTH_ULEB128) { @@ -2227,8 +2228,8 @@ proto_register_elf(void) NULL, HFILL } }, { &hf_elf_eh_frame_hdr_fde_count, - { "FDE Count", "elf.eh_frame_hdr.fde_count", - FT_BYTES, BASE_NONE, NULL, 0x00, + { "Number of FDE entries", "elf.eh_frame_hdr.fde_count", + FT_UINT64, BASE_DEC, NULL, 0x00, NULL, HFILL } }, { &hf_elf_eh_frame_hdr_binary_search_table_entry_initial_location, |