aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorBenoît Canet <benoit@scylladb.com>2016-09-26 16:25:11 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2016-10-17 18:28:45 +0000
commit47649d1c7fb6ba48b805e19268a711404eb6908b (patch)
tree603eea5969a564511df482a2d8d6a9525cfea74b /epan/epan.c
parent5c42d8a24c863549166bc1d0875e87a07bedf53e (diff)
cql: add lz4 and snappy decompression
We do not use the STARTUP negotiation since a stream can be captured in its middle but try to decompress if the flag is present and fallback if it fails. Change-Id: Iecbf49a45220b04be7808869c9884548eb1e7694 Signed-off-by: Benoît Canet <benoit@scylladb.com> Reviewed-on: https://code.wireshark.org/review/17952 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c
index 056a447fbb..82e0d397e6 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -574,6 +574,23 @@ epan_get_compiled_version_info(GString *str)
#else
g_string_append(str, "without nghttp2");
#endif /* HAVE_NGHTTP2 */
+
+ /* LZ4 */
+ g_string_append(str, ", ");
+#ifdef HAVE_LZ4
+ g_string_append(str, "with LZ4");
+#else
+ g_string_append(str, "without LZ4");
+#endif /* HAVE_LZ4 */
+
+ /* Snappy */
+ g_string_append(str, ", ");
+#ifdef HAVE_SNAPPY
+ g_string_append(str, "with Snappy");
+#else
+ g_string_append(str, "without Snappy");
+#endif /* HAVE_SNAPPY */
+
}
/*