diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-06 14:46:34 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-06 14:46:34 +0000 |
commit | 02065b0981f85eff9d84ca42546809ee6319bd20 (patch) | |
tree | e8bfa03641fe838d3b61f29231158f7a81eb7ed9 /plugins/docsis/packet-regrsp.c | |
parent | 3c551a7bce3b117edabd75a2c7e33ae2f70c5d8e (diff) | |
download | wireshark-02065b0981f85eff9d84ca42546809ee6319bd20.tar.gz wireshark-02065b0981f85eff9d84ca42546809ee6319bd20.tar.bz2 wireshark-02065b0981f85eff9d84ca42546809ee6319bd20.zip |
Convert 'encoding' parameter of certain proto_tree_add_item() calls in plugin 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
svn path=/trunk/; revision=39292
Diffstat (limited to 'plugins/docsis/packet-regrsp.c')
-rw-r--r-- | plugins/docsis/packet-regrsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/docsis/packet-regrsp.c b/plugins/docsis/packet-regrsp.c index f868d22ff9..9cda995f25 100644 --- a/plugins/docsis/packet-regrsp.c +++ b/plugins/docsis/packet-regrsp.c @@ -67,9 +67,9 @@ dissect_regrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) "Registration Response"); regrsp_tree = proto_item_add_subtree (it, ett_docsis_regrsp); proto_tree_add_item (regrsp_tree, hf_docsis_regrsp_sid, tvb, 0, 2, - FALSE); + ENC_BIG_ENDIAN); proto_tree_add_item (regrsp_tree, hf_docsis_regrsp_response, tvb, 2, 1, - FALSE); + ENC_BIG_ENDIAN); } /* Call Dissector for Appendix C TLV's */ next_tvb = tvb_new_subset_remaining (tvb, 3); |