diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-05-07 18:14:08 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-05-07 18:14:08 +0000 |
commit | f64b0b69a46db4b1ff40a1b29a782a9176d255e3 (patch) | |
tree | 45f0a7e8b80ef32d023b8253d956bca56fa6ffe8 /epan/dissectors | |
parent | 172798b88f84fd9f3003bc5503fa5b33e400988a (diff) |
Get rid of remaining Booleans-as-encoding-arguments in
proto_tree_add_item() calls.
svn path=/trunk/; revision=42479
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-cisco-sm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-cisco-sm.c b/epan/dissectors/packet-cisco-sm.c index 15fe0ab831..7e93d8c997 100644 --- a/epan/dissectors/packet-cisco-sm.c +++ b/epan/dissectors/packet-cisco-sm.c @@ -174,7 +174,7 @@ dissect_sm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (!tree) return; - proto_tree_add_item(sm_tree, hf_sm_msg_id, tvb, offset, 2, FALSE); + proto_tree_add_item(sm_tree, hf_sm_msg_id, tvb, offset, 2, ENC_BIG_ENDIAN); offset = offset +2; msg_type = tvb_get_ntohs(tvb,offset); proto_tree_add_uint_format(sm_tree, hf_sm_msg_type, tvb, offset, 2, msg_type, @@ -182,11 +182,11 @@ dissect_sm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) msg_type); msg_type = tvb_get_ntohs(tvb,offset); offset = offset + 2; - proto_tree_add_item(sm_tree, hf_sm_channel, tvb, offset, 2, FALSE); + proto_tree_add_item(sm_tree, hf_sm_channel, tvb, offset, 2, ENC_BIG_ENDIAN); offset = offset + 2; - proto_tree_add_item(sm_tree, hf_sm_bearer, tvb, offset, 2, FALSE); + proto_tree_add_item(sm_tree, hf_sm_bearer, tvb, offset, 2, ENC_BIG_ENDIAN); offset = offset +2; - proto_tree_add_item(sm_tree, hf_sm_len, tvb, offset, 2, FALSE); + proto_tree_add_item(sm_tree, hf_sm_len, tvb, offset, 2, ENC_BIG_ENDIAN); length = tvb_get_ntohs(tvb,offset); offset = offset +2; proto_item_set_len(ti, 16); |