[Pkg-running-devel] [openambit] 06/23: Include support for even longer log headers
Christian Perrier
bubulle at moszumanska.debian.org
Sat Jul 1 19:36:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
bubulle pushed a commit to branch master
in repository openambit.
commit 3fa3dd38f59cde8d2c0a6f3203f647485267a1ec
Author: Emil Ljungdahl <emil at kratern.se>
Date: Mon Sep 8 23:40:35 2014 +0200
Include support for even longer log headers
---
wireshark_dissector/ambit-dissector.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wireshark_dissector/ambit-dissector.c b/wireshark_dissector/ambit-dissector.c
index e9e5e77..31b7175 100644
--- a/wireshark_dissector/ambit-dissector.c
+++ b/wireshark_dissector/ambit-dissector.c
@@ -968,7 +968,7 @@ static gint dissect_ambit_log_data_content(tvbuff_t *tvb, packet_info *pinfo, pr
if (offset + 4 >= length) return offset;
proto_tree_add_item(tree, hf_ambit_log_header_distance_before_calib, tvb, offset, 4, ENC_LITTLE_ENDIAN);
offset += 4;
- if (header_1_len == 913) { /* Long header */
+ if (header_1_len >= 913) { /* Long header */
if (offset + 24 >= length) return offset;
dissect_ambit_add_unknown(tvb, pinfo, tree, offset, 24);
offset += 24;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/openambit.git
More information about the Pkg-running-devel
mailing list