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 /packet-dccp.c | |
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 'packet-dccp.c')
-rw-r--r-- | packet-dccp.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/packet-dccp.c b/packet-dccp.c index ec4c2b9a21..e321692894 100644 --- a/packet-dccp.c +++ b/packet-dccp.c @@ -4,7 +4,7 @@ * * Copyright 1999, Nathan Neulinger <nneul@umr.edu> * - * $Id: packet-dccp.c,v 1.9 2003/01/27 22:44:01 deniel Exp $ + * $Id: packet-dccp.c,v 1.10 2003/01/31 03:17:45 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -509,32 +509,32 @@ proto_register_dccp(void) NULL, 0, "Trace Bits", HFILL }}, { &hf_dccp_trace_admin, { - "Admin Requests", "dccp.trace.admin", FT_UINT32, BASE_BIN, - NULL, 0x0001, "Admin Requests", HFILL }}, + "Admin Requests", "dccp.trace.admin", FT_BOOLEAN, 32, + NULL, 0x00000001, "Admin Requests", HFILL }}, { &hf_dccp_trace_anon, { - "Anonymous Requests", "dccp.trace.anon", FT_UINT32, BASE_BIN, - NULL, 0x0002, "Anonymous Requests", HFILL }}, + "Anonymous Requests", "dccp.trace.anon", FT_BOOLEAN, 32, + NULL, 0x00000002, "Anonymous Requests", HFILL }}, { &hf_dccp_trace_client, { - "Authenticated Client Requests", "dccp.trace.client", FT_UINT32, BASE_BIN, - NULL, 0x0004, "Authenticated Client Requests", HFILL }}, + "Authenticated Client Requests", "dccp.trace.client", FT_BOOLEAN, 32, + NULL, 0x00000004, "Authenticated Client Requests", HFILL }}, { &hf_dccp_trace_rlim, { - "Rate-Limited Requests", "dccp.trace.rlim", FT_UINT32, BASE_BIN, - NULL, 0x0008, "Rate-Limited Requests", HFILL }}, + "Rate-Limited Requests", "dccp.trace.rlim", FT_BOOLEAN, 32, + NULL, 0x00000008, "Rate-Limited Requests", HFILL }}, { &hf_dccp_trace_query, { - "Queries and Reports", "dccp.trace.query", FT_UINT32, BASE_BIN, - NULL, 0x0010, "Queries and Reports", HFILL }}, + "Queries and Reports", "dccp.trace.query", FT_BOOLEAN, 32, + NULL, 0x00000010, "Queries and Reports", HFILL }}, { &hf_dccp_trace_ridc, { - "RID Cache Messages", "dccp.trace.ridc", FT_UINT32, BASE_BIN, - NULL, 0x0020, "RID Cache Messages", HFILL }}, + "RID Cache Messages", "dccp.trace.ridc", FT_BOOLEAN, 32, + NULL, 0x00000020, "RID Cache Messages", HFILL }}, { &hf_dccp_trace_flood, { - "Input/Output Flooding", "dccp.trace.flood", FT_UINT32, BASE_BIN, - NULL, 0x0040, "Input/Output Flooding", HFILL }}, + "Input/Output Flooding", "dccp.trace.flood", FT_BOOLEAN, 32, + NULL, 0x00000040, "Input/Output Flooding", HFILL }}, { &hf_dccp_floodop, { "Flood Control Operation", "dccp.floodop", FT_UINT32, BASE_DEC, |