aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorJens Kilian <jens.kilian@advantest.com>2016-06-23 10:31:42 +0200
committerAnders Broman <a.broman58@gmail.com>2016-06-23 10:45:17 +0000
commitedac72eb7d5beb961c3833232c8d048a33860297 (patch)
tree081da3505e4194a81815ad21bfce68c9a95dce2b /epan
parent982359c0985914a8afaf0807dd6331e9d48c6a6f (diff)
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>
Diffstat (limited to 'epan')
-rw-r--r--epan/address_types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/address_types.c b/epan/address_types.c
index 604752c7c7..cd8440fa06 100644
--- a/epan/address_types.c
+++ b/epan/address_types.c
@@ -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;