diff options
author | Gerald Combs <gerald@wireshark.org> | 2008-12-18 20:19:49 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2008-12-18 20:19:49 +0000 |
commit | fc71188963e3abbe23a17a327b22dd8e920e4da3 (patch) | |
tree | 332faa3857357eb750d858d3fb9efb168f4e5355 /plugins | |
parent | d2ba316fd9f4dc449589f8ab4e1744cd93e80eb8 (diff) |
Update calls to proto_tree_add_bytes_format to reflect r27047.
svn path=/trunk/; revision=27053
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/asn1/packet-asn1.c | 4 | ||||
-rw-r--r-- | plugins/rtnet/packet-rtnet.c | 2 | ||||
-rw-r--r-- | plugins/wimaxasncp/packet-wimaxasncp.c | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/asn1/packet-asn1.c b/plugins/asn1/packet-asn1.c index 9c0eb9b9ce..e5e97ae28b 100644 --- a/plugins/asn1/packet-asn1.c +++ b/plugins/asn1/packet-asn1.c @@ -1338,7 +1338,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in ename, empty); else { proto_tree_add_bytes_format(pt, props.value_id, tvb, boffset, - offset - boffset, ename,/* XXX length?*/ + offset - boffset, "(%s)%s: %s ~", tname, name, ename); if (props.type_id != -1){ hidden_item = proto_tree_add_bytes(pt, props.type_id, tvb, @@ -1355,7 +1355,7 @@ decode_asn1_sequence(tvbuff_t *tvb, guint offset, guint tlen, proto_tree *pt, in "(%s)%s: %s", tname, name, ename); else { proto_tree_add_bytes_format(pt, props.value_id, tvb, boffset, - offset - boffset, ename, /* XXX length ? */ + offset - boffset, "(%s)%s: %s ~", tname, name, ename); if (props.type_id != -1){ hidden_item = proto_tree_add_bytes(pt, props.type_id, tvb, diff --git a/plugins/rtnet/packet-rtnet.c b/plugins/rtnet/packet-rtnet.c index a485229287..eccdaf42f8 100644 --- a/plugins/rtnet/packet-rtnet.c +++ b/plugins/rtnet/packet-rtnet.c @@ -888,7 +888,7 @@ dissect_rtcfg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { case WTAP_ENCAP_ETHERNET: haddr = tvb_get_ptr(tvb, offset, 6); proto_tree_add_bytes_format( rtcfg_tree, hf_rtcfg_client_hw_address, tvb, offset, 32, - haddr, "Client Hardware Address: %02X:%02X:%02X:%02X:%02X:%02X", + "Client Hardware Address: %02X:%02X:%02X:%02X:%02X:%02X", *haddr, *(haddr+1), *(haddr+2), *(haddr+3), *(haddr+4), *(haddr+5) ); break; diff --git a/plugins/wimaxasncp/packet-wimaxasncp.c b/plugins/wimaxasncp/packet-wimaxasncp.c index 3beeddadea..0dcb1cea0d 100644 --- a/plugins/wimaxasncp/packet-wimaxasncp.c +++ b/plugins/wimaxasncp/packet-wimaxasncp.c @@ -919,7 +919,7 @@ static void wimaxasncp_dissect_tlv_value( proto_tree_add_bytes_format( tree, tlv_info->hf_value, - tvb, offset, length, p, + tvb, offset, length, format1, s); proto_item_append_text( @@ -1098,7 +1098,7 @@ static void wimaxasncp_dissect_tlv_value( proto_tree_add_bytes_format( tree, tlv_info->hf_value, - tvb, offset, length, p, + tvb, offset, length, format, hex_note, s); proto_item_append_text(tlv_item, " - TBD"); @@ -1624,7 +1624,7 @@ static void wimaxasncp_dissect_tlv_value( proto_tree_add_bytes_format( tree, tlv_info->hf_value, - tvb, offset, length, p, + tvb, offset, length, format1, hex_note, s); proto_item_append_text( @@ -1662,7 +1662,7 @@ static void wimaxasncp_dissect_tlv_value( proto_tree_add_bytes_format( tree, hf_wimaxasncp_tlv_value_bytes, - tvb, offset, length, p, + tvb, offset, length, format, hex_note, s); } } |