diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-10-11 09:35:34 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-10-11 09:35:34 +0000 |
commit | 996e27dbc73234b5facb01beaff8421d5dbd1b3b (patch) | |
tree | d3abbec2cedb75e24413bf6abfcd524d0c8ed383 /epan/proto.c | |
parent | ee9ea561d25abeafadf3ce2a3fac03e40b5a395c (diff) | |
download | wireshark-996e27dbc73234b5facb01beaff8421d5dbd1b3b.tar.gz wireshark-996e27dbc73234b5facb01beaff8421d5dbd1b3b.tar.bz2 wireshark-996e27dbc73234b5facb01beaff8421d5dbd1b3b.zip |
Set INITIAL_NUM_PROTOCOL_HFINFO to a more sensible value, e.g. 1500. Currently it is set to 200 even though we have way more protocols in Wireshark:
$ ./tshark -G protocols | wc -l
1066
svn path=/trunk/; revision=30501
Diffstat (limited to 'epan/proto.c')
-rw-r--r-- | epan/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c index 588b7da140..9a7bc775ea 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -249,7 +249,7 @@ struct _protocol { /* List of all protocols */ static GList *protocols = NULL; -#define INITIAL_NUM_PROTOCOL_HFINFO 200 +#define INITIAL_NUM_PROTOCOL_HFINFO 1500 /* Contains information about protocols and header fields. Used when * dissectors register their data */ |