diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-01-31 03:17:56 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-01-31 03:17:56 +0000 |
commit | ab552d374661899453f7ceaf5e7e89f72727a8c1 (patch) | |
tree | eed196787c6507ea24eadb7cd17df52989e0489d /plugins | |
parent | f88816e60f1f14f2662c20740db6ecf3764e82b6 (diff) |
Get rid of BASE_BIN - it's just the same as BASE_DEC, but people seemed
to be using it for stuff that should be hex, and for stuff that should
be Boolean. Use BASE_DEC if it should be decimal, BASE_HEX if it should
be hex, and make it Boolean if it should be Boolean.
svn path=/trunk/; revision=7053
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/docsis/packet-docsis.c | 10 | ||||
-rw-r--r-- | plugins/docsis/packet-tlv.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/docsis/packet-docsis.c b/plugins/docsis/packet-docsis.c index 8724ee5109..918793cc13 100644 --- a/plugins/docsis/packet-docsis.c +++ b/plugins/docsis/packet-docsis.c @@ -2,7 +2,7 @@ * Routines for docsis dissection * Copyright 2002, Anand V. Narwani <anarwani@cisco.com> * - * $Id: packet-docsis.c,v 1.10 2002/09/10 19:07:38 guy Exp $ + * $Id: packet-docsis.c,v 1.11 2003/01/31 03:17:56 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -595,22 +595,22 @@ proto_register_docsis (void) static hf_register_info hf[] = { {&hf_docsis_fctype, {"FCType", "docsis.fctype", - FT_UINT8, BASE_BIN, VALS (fctype_vals), 0xC0, + FT_UINT8, BASE_HEX, VALS (fctype_vals), 0xC0, "Frame Control Type", HFILL} }, {&hf_docsis_fcparm, {"FCParm", "docsis.fcparm", - FT_UINT8, BASE_BIN, NULL, 0x3E, + FT_UINT8, BASE_DEC, NULL, 0x3E, "Parameter Field", HFILL} }, {&hf_docsis_machdr_fcparm, {"FCParm", "docsis.fcparm", - FT_UINT8, BASE_BIN, VALS (fcparm_vals), 0x3E, + FT_UINT8, BASE_HEX, VALS (fcparm_vals), 0x3E, "Parameter Field", HFILL} }, {&hf_docsis_ehdron, {"EHDRON", "docsis.ehdron", - FT_UINT8, BASE_BIN, VALS (ehdron_vals), 0x01, + FT_UINT8, BASE_HEX, VALS (ehdron_vals), 0x01, "Extended Header Presence", HFILL} }, {&hf_docsis_macparm, diff --git a/plugins/docsis/packet-tlv.c b/plugins/docsis/packet-tlv.c index bf4fbe053a..2e708e11d0 100644 --- a/plugins/docsis/packet-tlv.c +++ b/plugins/docsis/packet-tlv.c @@ -2,7 +2,7 @@ * Routines to Dissect Appendix C TLV's * Copyright 2002, Anand V. Narwani <anarwani@cisco.com> * - * $Id: packet-tlv.c,v 1.9 2002/09/23 16:27:57 jmayer Exp $ + * $Id: packet-tlv.c,v 1.10 2003/01/31 03:17:56 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2541,7 +2541,7 @@ proto_register_docsis_tlv (void) }, {&hf_docsis_tlv_sflow_qos_param, {".6 QOS Parameter Set", "docsis.tlv.sflow.qos", - FT_UINT8, BASE_BIN, VALS (qos_param_vals), 0x0, + FT_UINT8, BASE_HEX, VALS (qos_param_vals), 0x0, "QOS Parameter Set", HFILL} }, {&hf_docsis_tlv_sflow_traf_pri, |