[Pkg-running-devel] [openambit] 120/131: Mark padding bytes in the 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 b67d8d15777fcf8f9e756d358145347328ecb68b
Author: Olaf Meeuwissen <paddy-hack at member.fsf.org>
Date: Tue Jun 3 19:38:54 2014 +0900
Mark padding bytes in the dissector output
---
wireshark_dissector/ambit-dissector.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/wireshark_dissector/ambit-dissector.c b/wireshark_dissector/ambit-dissector.c
index 54d6638..ff5da18 100644
--- a/wireshark_dissector/ambit-dissector.c
+++ b/wireshark_dissector/ambit-dissector.c
@@ -1642,6 +1642,10 @@ dissect_ambit(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U
offset += data_len;
proto_tree_add_item(ambit_tree, hf_ambit_payloadchksum, tvb, offset, 2, ENC_LITTLE_ENDIAN);
offset += 2;
+
+ if (offset < 64) {
+ proto_tree_add_text(ambit_tree, tvb, offset, 64 - offset, "Padding");
+ }
}
return len;
--
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