diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2010-11-03 17:57:22 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2010-11-03 17:57:22 +0000 |
commit | dffb55434c04d43a14b1c410da6c4442f194e118 (patch) | |
tree | 564a97d902e4bf3bb0648a2366ccf521d124ce90 /epan/dissectors/packet-agentx.c | |
parent | 605db4842dfb4c0f812370f5c28aa9d0da3542e9 (diff) |
From Fulko Hew:
The hex field highlighting when the 'PDU Header' sub-tree is selected
highlights 5 octets rather than the correct 4 (only) octets.
svn path=/trunk/; revision=34762
Diffstat (limited to 'epan/dissectors/packet-agentx.c')
-rw-r--r-- | epan/dissectors/packet-agentx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-agentx.c b/epan/dissectors/packet-agentx.c index 9c8a659831..544d90c44f 100644 --- a/epan/dissectors/packet-agentx.c +++ b/epan/dissectors/packet-agentx.c @@ -821,7 +821,7 @@ static void dissect_agentx_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr session_id,trans_id,packet_id,payload_len); agentx_tree = proto_item_add_subtree(t_item, ett_agentx); - pdu_item = proto_tree_add_text(agentx_tree, tvb, 0, 5, "PDU Header: Type[%u], len=%d, sid=%d, tid=%d, packid=%d", + pdu_item = proto_tree_add_text(agentx_tree, tvb, 0, 4, "PDU Header: Type[%u], len=%d, sid=%d, tid=%d, packid=%d", (char)type,payload_len,session_id,trans_id,packet_id); pdu_hdr_tree = proto_item_add_subtree(pdu_item, ett_pdu_hdr); |