aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cosine.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-02-03 23:24:08 +0000
committerJörg Mayer <jmayer@loplof.de>2005-02-03 23:24:08 +0000
commit9c638f9e7ef30470e08861467b18e3f53826bb3b (patch)
tree9a8ce279b11f650a8f1c1b5c960ebf3d25d0341e /epan/dissectors/packet-cosine.c
parentc49b92ea308c9813177409fa9b5222af6505e68c (diff)
Motonori Shindo:
Please find attached a small patch for CoSine L2 debug dissector. The code used to incorrectly select the first 4 octets in the tvbuff. This patch fixes this problem. svn path=/trunk/; revision=13271
Diffstat (limited to 'epan/dissectors/packet-cosine.c')
-rw-r--r--epan/dissectors/packet-cosine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cosine.c b/epan/dissectors/packet-cosine.c
index 8679904379..7240678d39 100644
--- a/epan/dissectors/packet-cosine.c
+++ b/epan/dissectors/packet-cosine.c
@@ -74,7 +74,7 @@ dissect_cosine(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* populate a tree in the second pane with the status of the link
layer (ie none) */
if(tree) {
- ti = proto_tree_add_protocol_format(tree, proto_cosine, tvb, 0, 4,
+ ti = proto_tree_add_protocol_format(tree, proto_cosine, tvb, 0, 0,
"CoSine IPNOS L2 debug output (%s)",
pseudo_header->cosine.if_name);
fh_tree = proto_item_add_subtree(ti, ett_raw);