diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-04-11 14:37:53 +0200 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2018-04-13 09:19:36 +0000 |
commit | 0b62dce0054bf8c63a8f96cea2cbf29c6e1721a0 (patch) | |
tree | 3bc45d60f8279ca77698d75e429214d39850bff9 /epan/dissectors | |
parent | 01f85e7b01d5bff1e1a3dba18ad179f677066552 (diff) |
kafka: raise the required version to 1.5.0 for lz4_frame.
Change-Id: I25619260572163872915c56bcf242e8ff8190b47
Reviewed-on: https://code.wireshark.org/review/26890
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Tested-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-kafka.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-kafka.c b/epan/dissectors/packet-kafka.c index f516284cef..71fc71502b 100644 --- a/epan/dissectors/packet-kafka.c +++ b/epan/dissectors/packet-kafka.c @@ -23,10 +23,10 @@ #endif #ifdef HAVE_LZ4 #include <lz4.h> -#if LZ4_VERSION_NUMBER >= 10301 +#if LZ4_VERSION_NUMBER >= 10500 #include <lz4frame.h> #define HAVE_LZ4_FRAME -#endif /* LZ4_VERSION_NUMBER >= 10301 */ +#endif /* LZ4_VERSION_NUMBER >= 10500 */ #endif #include "packet-tcp.h" @@ -346,7 +346,7 @@ dissect_kafka_message_set(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, i /* HELPERS */ -#if defined HAVE_LZ4_FRAME +#ifdef HAVE_LZ4_FRAME /* Local copy of XXH32() algorithm as found in https://github.com/lz4/lz4/blob/v1.7.5/lib/xxhash.c as some packagers are not providing xxhash.h in liblz4 */ typedef struct { |