diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-05 02:39:04 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-05 02:39:04 +0000 |
commit | e18e2694c6b5529fc65ca06103e043540ca70595 (patch) | |
tree | e4f78b75756a41bad98dbf20d863f3d60ee1b6e0 /epan/dissectors/packet-tetra.c | |
parent | ef8009abe3327a460c028cd81258b6590974f2a8 (diff) |
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=39263
Diffstat (limited to 'epan/dissectors/packet-tetra.c')
-rw-r--r-- | epan/dissectors/packet-tetra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tetra.c b/epan/dissectors/packet-tetra.c index 24a96159a8..fa03ef5762 100644 --- a/epan/dissectors/packet-tetra.c +++ b/epan/dissectors/packet-tetra.c @@ -9236,7 +9236,7 @@ dissect_tetra(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } /* Registers */ - tetra_sub_item = proto_tree_add_item( tetra_tree, hf_tetra_header, tvb, offset, -1, FALSE ); + tetra_sub_item = proto_tree_add_item( tetra_tree, hf_tetra_header, tvb, offset, -1, ENC_NA ); tetra_header_tree = proto_item_add_subtree(tetra_sub_item, ett_tetra); /* Timer */ |