summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2015-09-21 11:39:11 -0400
committerAnders Broman <a.broman58@gmail.com>2015-09-23 04:37:14 +0000
commite64c81609fd213e1c3e1c1f51e70fcaadaf18982 (patch)
treecc052631b8df55655078cf93f52ffbd6a9b2ed0f /epan
parenteefae1bef66b08c9b7ea751f9c5bc7528234b0cf (diff)
downloadwireshark-e64c81609fd213e1c3e1c1f51e70fcaadaf18982.tar.gz
Increase the number of pre-allocated hfs (from 144k to 170k).
169756 header fields are currently registered. Including the 5k expert info field pre-allocation this gives us about 5k unused entries (until we should increase this number again). Change-Id: Id8ea979cbe9e80756c12b5b73e816bbe3e9856ad Reviewed-on: https://code.wireshark.org/review/10599 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')
-rw-r--r--epan/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index dfe495dc62..d11d66fae3 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -6247,7 +6247,7 @@ register_number_string_decoding_error(void)
proto_set_cant_toggle(proto_number_string_decoding_error);
}
-#define PROTO_PRE_ALLOC_HF_FIELDS_MEM (144000+PRE_ALLOC_EXPERT_FIELDS_MEM)
+#define PROTO_PRE_ALLOC_HF_FIELDS_MEM (170000+PRE_ALLOC_EXPERT_FIELDS_MEM)
static int
proto_register_field_init(header_field_info *hfinfo, const int parent)
{