diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2016-06-05 16:27:37 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-06-05 17:47:04 +0000 |
commit | 86f91643656e0b8f82f7d66903cec089d5ed4208 (patch) | |
tree | 61d58439a05f42b41bda318f376e22b6e0295ce3 /epan/dissectors/packet-ldap.c | |
parent | e6c0727bff21b9092ba5a6203bdfce255f4af7b5 (diff) |
Initialize all header_field_info members
Change-Id: Id86d17f1e321b8cc73fb732aaf674e1420a0a745
Reviewed-on: https://code.wireshark.org/review/15737
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ldap.c')
-rw-r--r-- | epan/dissectors/packet-ldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ldap.c b/epan/dissectors/packet-ldap.c index 8f8b90d461..95ba5258bf 100644 --- a/epan/dissectors/packet-ldap.c +++ b/epan/dissectors/packet-ldap.c @@ -798,9 +798,9 @@ attribute_types_initialize_cb(void) hf[i].hfinfo.type = FT_STRING; hf[i].hfinfo.display = BASE_NONE; hf[i].hfinfo.strings = NULL; + hf[i].hfinfo.bitmask = 0; hf[i].hfinfo.blurb = g_strdup(attribute_types[i].attribute_desc); - hf[i].hfinfo.same_name_prev_id = -1; - hf[i].hfinfo.same_name_next = NULL; + HFILL_INIT(hf[i]); g_hash_table_insert(attribute_types_hash, attribute_type, hf_id); } |