diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-05 01:00:06 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-05 01:00:06 +0000 |
commit | ef8009abe3327a460c028cd81258b6590974f2a8 (patch) | |
tree | 502b5a72f83e524f032991e17a8f1bf71d9942c0 /plugins/profinet/packet-dcom-cba.c | |
parent | 799578fb29a901adef58f6792b01c3e580fb577a (diff) | |
download | wireshark-ef8009abe3327a460c028cd81258b6590974f2a8.tar.gz |
Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an hf item (in hf[] with types:
FT_NONE
FT_BYTES
FT_IPV6
FT_IPXNET
FT_OID
Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|1|0|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN
svn path=/trunk/; revision=39262
Diffstat (limited to 'plugins/profinet/packet-dcom-cba.c')
-rw-r--r-- | plugins/profinet/packet-dcom-cba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/profinet/packet-dcom-cba.c b/plugins/profinet/packet-dcom-cba.c index d2e1027a07..1e15c00fdd 100644 --- a/plugins/profinet/packet-dcom-cba.c +++ b/plugins/profinet/packet-dcom-cba.c @@ -908,7 +908,7 @@ dissect_PBAddressInfo(tvbuff_t *tvb, gint offset, packet_info *pinfo, while(u32ArraySize != 0) { - sub_item = proto_tree_add_item(tree, hf_cba_pbaddress, tvb, offset, 2, FALSE); + sub_item = proto_tree_add_item(tree, hf_cba_pbaddress, tvb, offset, 2, ENC_NA); sub_tree = proto_item_add_subtree(sub_item, ett_PBAddress); offset = dissect_dcom_BYTE(tvb, offset, pinfo, sub_tree, drep, |