[Pkg-running-devel] [openambit] 121/131: Mark initial header bytes in dissector output
Christian Perrier
bubulle at moszumanska.debian.org
Thu Jul 17 20:19:17 UTC 2014
This is an automated email from the git hooks/post-receive script.
bubulle pushed a commit to branch master
in repository openambit.
commit 72e0367fd89ef0abd87e495e049e8442f04e41fb
Author: Olaf Meeuwissen <paddy-hack at member.fsf.org>
Date: Wed Jun 4 18:38:19 2014 +0900
Mark initial header bytes in dissector output
---
wireshark_dissector/ambit-dissector.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/wireshark_dissector/ambit-dissector.c b/wireshark_dissector/ambit-dissector.c
index ff5da18..298b766 100644
--- a/wireshark_dissector/ambit-dissector.c
+++ b/wireshark_dissector/ambit-dissector.c
@@ -1567,7 +1567,11 @@ dissect_ambit(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U
ti = proto_tree_add_item(tree, proto_ambit, tvb, 0, len, ENC_NA);
ambit_tree = proto_item_add_subtree(ti, ett_ambit);
- offset = 2;
+ offset = 0;
+ proto_tree_add_item(ambit_tree, hf_ambit_usbid, tvb, offset, 1, ENC_NA);
+ offset += 1;
+ proto_tree_add_item(ambit_tree, hf_ambit_usblength, tvb, offset, 1, ENC_NA);
+ offset += 1;
proto_tree_add_item(ambit_tree, hf_ambit_msgpart, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(ambit_tree, hf_ambit_msglength, tvb, offset, 1, ENC_BIG_ENDIAN);
--
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