Increase MAX_DISSECTOR_ADDR_TYPE.

With the recent changes causing some address types to be registered
by their proper dissectors, I ran into the MAX_DISSECTOR_ADDR_TYPE
limit in a new dissector I'm currently writing.

Change-Id: I72f521266af9190e8ad198ace4d6608b6b4d2dee
Reviewed-on: https://code.wireshark.org/review/16091
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Jens Kilian 2016-06-23 10:31:42 +02:00 committed by Anders Broman
parent 982359c098
commit edac72eb7d
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ struct _address_type_t {
/* XXX - Some sort of compare functions (like ftype)? ***/
};
#define MAX_DISSECTOR_ADDR_TYPE 20
#define MAX_DISSECTOR_ADDR_TYPE 30
#define MAX_ADDR_TYPE_VALUE (AT_END_OF_LIST+MAX_DISSECTOR_ADDR_TYPE)
static int num_dissector_addr_type;