aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-trill.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-06 03:35:44 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-06 03:35:44 +0000
commit13916f0a6e6f6afb3da02ed4a9d8feb3a5471682 (patch)
tree0896080ffb80104f2c23e3f8c273080088cff7cd /epan/dissectors/packet-trill.c
parentb6bfa63bd15d6f3a15ed9bed687e99510603c962 (diff)
Convert 'encoding' parameter of certain proto_tree_add_item() calls in non-autogenerated epan/dissectors:
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39288 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-trill.c')
-rw-r--r--epan/dissectors/packet-trill.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-trill.c b/epan/dissectors/packet-trill.c
index 7d2bfed9d6..9c7ffe8b9a 100644
--- a/epan/dissectors/packet-trill.c
+++ b/epan/dissectors/packet-trill.c
@@ -111,25 +111,25 @@ dissect_trill( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
/* Parse the bit fields, i.e. V, R, M, Op-Length, Hop Count. */
proto_tree_add_item( trill_tree, hf_trill_version, tvb, offset,
- TRILL_BIT_FIELDS_LEN, FALSE ) ;
+ TRILL_BIT_FIELDS_LEN, ENC_BIG_ENDIAN ) ;
proto_tree_add_item( trill_tree, hf_trill_reserved, tvb, offset,
- TRILL_BIT_FIELDS_LEN, FALSE ) ;
+ TRILL_BIT_FIELDS_LEN, ENC_BIG_ENDIAN ) ;
proto_tree_add_item( trill_tree, hf_trill_multi_dst, tvb, offset,
TRILL_BIT_FIELDS_LEN, FALSE ) ;
proto_tree_add_item( trill_tree, hf_trill_op_len, tvb, offset,
- TRILL_BIT_FIELDS_LEN, FALSE ) ;
+ TRILL_BIT_FIELDS_LEN, ENC_BIG_ENDIAN ) ;
proto_tree_add_item( trill_tree, hf_trill_hop_cnt, tvb, offset,
- TRILL_BIT_FIELDS_LEN, FALSE ) ;
+ TRILL_BIT_FIELDS_LEN, ENC_BIG_ENDIAN ) ;
/* Parse the egress nickname. */
offset += TRILL_BIT_FIELDS_LEN ;
proto_tree_add_item( trill_tree, hf_trill_egress_nick, tvb, offset,
- TRILL_NICKNAME_LEN, FALSE ) ;
+ TRILL_NICKNAME_LEN, ENC_BIG_ENDIAN ) ;
/* Parse the ingress nickname. */
offset += TRILL_NICKNAME_LEN ;
proto_tree_add_item( trill_tree, hf_trill_ingress_nick, tvb, offset,
- TRILL_NICKNAME_LEN , FALSE ) ;
+ TRILL_NICKNAME_LEN , ENC_BIG_ENDIAN ) ;
/* Parse the options field. */
offset += TRILL_NICKNAME_LEN ;