FT_BOOLEAN fields w/o bitmasks really should use BASE_NONE (not BASE_DEC,...).

svn path=/trunk/; revision=28317
This commit is contained in:
Bill Meier 2009-05-08 20:35:57 +00:00
parent 10bb70f09d
commit 79a1441582
20 changed files with 57 additions and 57 deletions

View File

@ -416,7 +416,7 @@ proto_register_brdwlk (void)
{"Packet Count", "brdwlk.pktcnt", FT_UINT16, BASE_DEC, NULL, 0x0,
"", HFILL}},
{ &hf_brdwlk_drop,
{"Packet Dropped", "brdwlk.drop", FT_BOOLEAN, BASE_DEC, NULL, 0x0,
{"Packet Dropped", "brdwlk.drop", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"", HFILL}},
{ &hf_brdwlk_vsan,
{"VSAN", "brdwlk.vsan", FT_UINT16, BASE_DEC, NULL, 0xFFF, "",

View File

@ -774,7 +774,7 @@ proto_register_cmpp(void) {
},
{ &hf_cmpp_submit_Registered_Delivery,
{ "Registered Delivery", "cmpp.submit.Registered_Delivery",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"Registered Delivery flag",
HFILL }
},
@ -804,7 +804,7 @@ proto_register_cmpp(void) {
},
{ &hf_cmpp_submit_Fee_terminal_type,
{ "Fake Fee Terminal", "cmpp.submit.Fee_terminal_type",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"Fee terminal type, 0 is real, 1 is fake",
HFILL }
},
@ -876,7 +876,7 @@ proto_register_cmpp(void) {
},
{ &hf_cmpp_submit_Dest_terminal_type,
{ "Fake Destination Terminal", "cmpp.submit.Dest_terminal_type",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"destination terminal type, 0 is real, 1 is fake",
HFILL }
},
@ -918,13 +918,13 @@ proto_register_cmpp(void) {
},
{ &hf_cmpp_deliver_Src_terminal_type,
{ "Fake source terminal type", "cmpp.deliver.Src_terminal_type",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"Type of the source terminal, can be 0 (real) or 1 (fake)",
HFILL }
},
{ &hf_cmpp_deliver_Registered_Delivery,
{ "Deliver Report", "cmpp.deliver.Registered_Delivery",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"The message is a deliver report if this value = 1",
HFILL }
},

View File

@ -518,7 +518,7 @@ proto_register_cpha(void)
{ &hf_ethernet_add,
{ "Ethernet Address", "cpha.ethernet_addr", FT_ETHER, BASE_HEX, NULL, 0x0, NULL, HFILL}},
{ &hf_is_if_trusted,
{ "Interface Trusted", "cpha.if_trusted", FT_BOOLEAN, BASE_DEC, NULL, 0x0, NULL, HFILL}},
{ "Interface Trusted", "cpha.if_trusted", FT_BOOLEAN, BASE_NONE, NULL, 0x0, NULL, HFILL}},
{ &hf_ip,
{ "IP Address", "cpha.ip", FT_IPv4, BASE_DEC, NULL, 0x0, NULL, HFILL}},
{ &hf_slot_num,

View File

@ -1033,7 +1033,7 @@ void proto_register_dccp(void)
"", HFILL }},
{ &hf_dccp_checksum_bad,
{ "Bad Checksum", "dccp.checksum_bad", FT_BOOLEAN, BASE_DEC, NULL, 0x0,
{ "Bad Checksum", "dccp.checksum_bad", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"", HFILL }},
{ &hf_dccp_checksum,
@ -1053,7 +1053,7 @@ void proto_register_dccp(void)
"", HFILL }},
{ &hf_dccp_x,
{ "Extended Sequence Numbers", "dccp.x", FT_BOOLEAN, BASE_DEC, NULL, 0x0,
{ "Extended Sequence Numbers", "dccp.x", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"", HFILL }},
{ &hf_dccp_seq,
@ -1117,7 +1117,7 @@ void proto_register_dccp(void)
"", HFILL }},
{ &hf_dccp_malformed,
{ "Malformed", "dccp.malformed", FT_BOOLEAN, BASE_DEC, NULL, 0x0,
{ "Malformed", "dccp.malformed", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"", HFILL }},
{ &hf_dccp_options,

View File

@ -1255,7 +1255,7 @@ proto_register_fc(void)
HFILL}},
{ &hf_fc_reassembled,
{"Reassembled Frame", "fc.reassembled", FT_BOOLEAN, BASE_HEX, NULL,
{"Reassembled Frame", "fc.reassembled", FT_BOOLEAN, BASE_NONE, NULL,
0x0, "", HFILL}},
{ &hf_fc_nh_da,
{"Network DA", "fc.nethdr.da", FT_STRING, BASE_HEX, NULL,

View File

@ -4260,7 +4260,7 @@ proto_register_giop (void)
{ &hf_giop_type_boolean,
{ "TypeCode boolean data", "giop.tcboolean",
FT_BOOLEAN, BASE_DEC, NULL, 0x0, "", HFILL }
FT_BOOLEAN, BASE_NONE, NULL, 0x0, "", HFILL }
},
{ &hf_giop_type_char,

View File

@ -549,7 +549,7 @@ void proto_register_h248_3gpp(void) {
"The event is used to notify the MGC that a TFO link has been established or broken", HFILL }},
{ &hf_h248_pkg_3GTFO_evt_status_tfostatus,
{ "TFO Status", "h248.package_3GTFO.status.tfostatus",
FT_BOOLEAN, BASE_DEC, NULL, 0,
FT_BOOLEAN, BASE_NONE, NULL, 0,
"reports whether TFO has been established or broken", HFILL }},
};

View File

@ -1203,7 +1203,7 @@ void proto_register_h248_annex_c(void) {
"Served User Transport", HFILL }},
{ &hf_h248_pkg_annexc_tci,
{ "TCI", "h248.pkg.annexc.tci",
FT_BOOLEAN, BASE_DEC, NULL, 0,
FT_BOOLEAN, BASE_NONE, NULL, 0,
"Test Connection Indicator", HFILL }},
{ &hf_h248_pkg_annexc_timer_cu,
{ "Timer CU", "h248.pkg.annexc.timer_cu",

View File

@ -1748,7 +1748,7 @@ void proto_register_pdcp(void)
{ &hf_pdcp_lte_rohc_compression,
{ "ROHC Compression",
"pdcp.rohc", FT_BOOLEAN, BASE_DEC, NULL, 0x0,
"pdcp.rohc", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"ROHC Mode", HFILL
}
},
@ -1878,7 +1878,7 @@ void proto_register_pdcp(void)
},
{ &hf_pdcp_lte_bitmap_not_received,
{ "Not Received",
"pdcp.bitmap.error", FT_BOOLEAN, BASE_DEC, NULL, 0x0,
"pdcp.bitmap.error", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"Status report PDU error", HFILL
}
},

View File

@ -608,7 +608,7 @@ proto_register_portmap(void)
"Version", "portmap.version", FT_UINT32, BASE_DEC,
NULL, 0, "Version", HFILL }},
{ &hf_portmap_answer, {
"Answer", "portmap.answer", FT_BOOLEAN, BASE_DEC,
"Answer", "portmap.answer", FT_BOOLEAN, BASE_NONE,
NULL, 0, "Answer", HFILL }},
{ &hf_portmap_args, {
"Arguments", "portmap.args", FT_BYTES, BASE_HEX,

View File

@ -3674,7 +3674,7 @@ proto_register_ptp(void)
},
{ &hf_ptp_sdr_utcreasonable,
{ "utcReasonable", "ptp.sdr.utcreasonable",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
/*offsets for follow_up (=fu) messages*/
@ -3843,27 +3843,27 @@ proto_register_ptp(void)
},
{ &hf_ptp_mm_default_data_set_clockfollowupcapable,
{ "clockFollowupCapable", "ptp.mm.default.data.set.clockfollowupcapable",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_default_data_set_preferred,
{ "preferred", "ptp.mm.default.data.set.preferred",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_default_data_set_initializable,
{ "initializable", "ptp.mm.default.data.set.initializable",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_default_data_set_externaltiming,
{ "externalTiming", "ptp.mm.default.data.set.externaltiming",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_default_data_set_isboundaryclock,
{ "isBoundaryClock", "ptp.mm.default.data.set.isboundaryclock",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_default_data_set_syncinterval,
@ -3904,7 +3904,7 @@ proto_register_ptp(void)
},
{ &hf_ptp_mm_update_default_data_set_preferred,
{ "preferred", "ptp.mm.update.default.data.set.preferred",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_update_default_data_set_syncinterval,
@ -3976,12 +3976,12 @@ proto_register_ptp(void)
},
{ &hf_ptp_mm_parent_data_set_parentfollowupcapable,
{ "parentFollowupCapable", "ptp.mm.parent.data.set.parentfollowupcapable",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_parent_data_set_parentexternaltiming,
{ "parentExternalTiming", "ptp.mm.parent.data.set.parentexternaltiming",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_parent_data_set_parentvariance,
@ -3991,7 +3991,7 @@ proto_register_ptp(void)
},
{ &hf_ptp_mm_parent_data_set_parentstats,
{ "parentStats", "ptp.mm.parent.data.set.parentstats",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_parent_data_set_observedvariance,
@ -4006,7 +4006,7 @@ proto_register_ptp(void)
},
{ &hf_ptp_mm_parent_data_set_utcreasonable,
{ "utcReasonable", "ptp.mm.parent.data.set.utcreasonable",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_parent_data_set_grandmastercommunicationtechnology,
@ -4041,12 +4041,12 @@ proto_register_ptp(void)
},
{ &hf_ptp_mm_parent_data_set_grandmasterpreferred,
{ "grandmasterPreferred", "ptp.mm.parent.data.set.grandmasterpreferred",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_parent_data_set_grandmasterisboundaryclock,
{ "grandmasterIsBoundaryClock", "ptp.mm.parent.data.set.grandmasterisboundaryclock",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_parent_data_set_grandmastersequencenumber,
@ -4092,7 +4092,7 @@ proto_register_ptp(void)
},
{ &hf_ptp_mm_port_data_set_burstenabled,
{ "burstEnabled", "ptp.mm.port.data.set.burstenabled",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_port_data_set_subdomainaddressoctets,
@ -4148,12 +4148,12 @@ proto_register_ptp(void)
},
{ &hf_ptp_mm_global_time_data_set_leap59,
{ "leap59", "ptp.mm.global.time.data.set.leap59",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_global_time_data_set_leap61,
{ "leap61", "ptp.mm.global.time.data.set.leap61",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_global_time_data_set_epochnumber,
@ -4169,12 +4169,12 @@ proto_register_ptp(void)
},
{ &hf_ptp_mm_update_global_time_properties_leap59,
{ "leap59", "ptp.mm.update.global.time.properties.leap59",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_update_global_time_properties_leap61,
{ "leap61", "ptp.mm.update.global.time.properties.leap61",
FT_BOOLEAN, BASE_DEC, NULL, 0x00,
FT_BOOLEAN, BASE_NONE, NULL, 0x00,
"", HFILL }
},
{ &hf_ptp_mm_update_global_time_properties_epochnumber,

View File

@ -818,7 +818,7 @@ proto_register_quake2(void)
"Sequence number of the current packet", HFILL }},
{ &hf_quake2_game_rel1,
{ "Reliable", "quake2.game.rel1",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"Packet is reliable and may be retransmitted", HFILL }},
{ &hf_quake2_game_seq2,
{ "Sequence Number", "quake2.game.seq2",
@ -826,7 +826,7 @@ proto_register_quake2(void)
"Sequence number of the last received packet", HFILL }},
{ &hf_quake2_game_rel2,
{ "Reliable", "quake2.game.rel2",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"Packet was reliable and may be retransmitted", HFILL }},
{ &hf_quake2_game_qport,
{ "QPort", "quake2.game.qport",

View File

@ -618,7 +618,7 @@ proto_register_quake3(void)
"Sequence number of the current packet", HFILL }},
{ &hf_quake3_game_rel1,
{ "Reliable", "quake3.game.rel1",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"Packet is reliable and may be retransmitted", HFILL }},
{ &hf_quake3_game_seq2,
{ "Sequence Number", "quake3.game.seq2",
@ -626,7 +626,7 @@ proto_register_quake3(void)
"Sequence number of the last received packet", HFILL }},
{ &hf_quake3_game_rel2,
{ "Reliable", "quake3.game.rel2",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"Packet was reliable and may be retransmitted", HFILL }},
{ &hf_quake3_game_qport,
{ "QPort", "quake3.game.qport",

View File

@ -869,7 +869,7 @@ proto_register_quakeworld(void)
"Sequence number of the current packet", HFILL }},
{ &hf_quakeworld_game_rel1,
{ "Reliable", "quakeworld.game.rel1",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"Packet is reliable and may be retransmitted", HFILL }},
{ &hf_quakeworld_game_seq2,
{ "Sequence Number", "quakeworld.game.seq2",
@ -877,7 +877,7 @@ proto_register_quakeworld(void)
"Sequence number of the last received packet", HFILL }},
{ &hf_quakeworld_game_rel2,
{ "Reliable", "quakeworld.game.rel2",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"Packet was reliable and may be retransmitted", HFILL }},
{ &hf_quakeworld_game_qport,
{ "QPort", "quakeworld.game.qport",

View File

@ -477,7 +477,7 @@ proto_register_rtmpt(void)
{ "AMF number", "rtmpt.amf.number", FT_DOUBLE, BASE_DEC, NULL, 0x0, "RTMPT AMF number", HFILL }},
{ &hf_rtmpt_amf_boolean,
{ "AMF boolean", "rtmpt.amf.boolean", FT_BOOLEAN, BASE_DEC, NULL, 0x0, "RTMPT AMF boolean", HFILL }},
{ "AMF boolean", "rtmpt.amf.boolean", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "RTMPT AMF boolean", HFILL }},
{ &hf_rtmpt_amf_string,
{ "AMF string", "rtmpt.amf.string", FT_STRINGZ, BASE_DEC, NULL, 0x0, "RTMPT AMF string", HFILL }}

View File

@ -692,47 +692,47 @@ proto_register_slimp3(void)
{ &hf_slimp3_control,
{ "Control Packet", "slimp3.control",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"SLIMP3 control", HFILL }},
{ &hf_slimp3_display,
{ "Display", "slimp3.display",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"SLIMP3 display", HFILL }},
{ &hf_slimp3_hello,
{ "Hello", "slimp3.hello",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"SLIMP3 hello", HFILL }},
{ &hf_slimp3_i2c,
{ "I2C", "slimp3.i2c",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"SLIMP3 I2C", HFILL }},
{ &hf_slimp3_data,
{ "Data", "slimp3.data",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"SLIMP3 Data", HFILL }},
{ &hf_slimp3_data_request,
{ "Data Request", "slimp3.data_req",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"SLIMP3 Data Request", HFILL }},
{ &hf_slimp3_discover_request,
{ "Discovery Request", "slimp3.discovery_req",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"SLIMP3 Discovery Request", HFILL }},
{ &hf_slimp3_discover_response,
{ "Discovery Response", "slimp3.discovery_response",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"SLIMP3 Discovery Response", HFILL }},
{ &hf_slimp3_data_ack,
{ "Data Ack", "slimp3.data_ack",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"SLIMP3 Data Ack", HFILL }},
};

View File

@ -415,7 +415,7 @@ proto_register_synergy(void)
{ "Sequence Number","synergy.clipboard.sequence",FT_UINT32, BASE_DEC, NULL, 0x0,"", HFILL }
},
{ &hf_synergy_csec,
{ "Screen Saver Change","synergy.screensaver",FT_BOOLEAN, BASE_DEC, NULL, 0x0,"", HFILL }
{ "Screen Saver Change","synergy.screensaver",FT_BOOLEAN, BASE_NONE, NULL, 0x0,"", HFILL }
},
{ &hf_synergy_crop,
{ "Reset Options","synergy.resetoptions",FT_NONE, BASE_DEC, NULL, 0x0,"", HFILL }

View File

@ -459,13 +459,13 @@ proto_register_tzsp(void)
"Port", "tzsp.wlan.status.mac_port", FT_UINT8, BASE_DEC,
NULL, 0, "MAC port", HFILL }},
{ &hf_status_pcf, {
"PCF", "tzsp.wlan.status.pcf", FT_BOOLEAN, BASE_HEX,
"PCF", "tzsp.wlan.status.pcf", FT_BOOLEAN, BASE_NONE,
TFS (&pcf_flag), 0, "Point Coordination Function", HFILL }},
{ &hf_status_undecrypted, {
"Undecrypted", "tzsp.wlan.status.undecrypted", FT_BOOLEAN, BASE_HEX,
"Undecrypted", "tzsp.wlan.status.undecrypted", FT_BOOLEAN, BASE_NONE,
TFS (&undecr_flag), 0, "Undecrypted", HFILL }},
{ &hf_status_fcs_error, {
"FCS", "tzsp.wlan.status.fcs_err", FT_BOOLEAN, BASE_HEX,
"FCS", "tzsp.wlan.status.fcs_err", FT_BOOLEAN, BASE_NONE,
TFS (&fcs_err_flag), 0, "Frame check sequence", HFILL }},
{ &hf_time, {
"Time", "tzsp.wlan.time", FT_UINT32, BASE_HEX,

View File

@ -2684,7 +2684,7 @@ proto_register_vnc(void)
/* Client Framebuffer Update Request */
{ &hf_vnc_update_req_incremental,
{ "Incremental update", "vnc.update_req_incremental",
FT_BOOLEAN, BASE_DEC, NULL, 0x0,
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"Specifies if the client wants an incremental update instead of a full one", HFILL }
},
{ &hf_vnc_update_req_x_pos,

View File

@ -625,7 +625,7 @@ proto_register_ypserv(void)
"Domain", "ypserv.domain", FT_STRING, BASE_DEC,
NULL, 0, "Domain", HFILL }},
{ &hf_ypserv_servesdomain, {
"Serves Domain", "ypserv.servesdomain", FT_BOOLEAN, BASE_DEC,
"Serves Domain", "ypserv.servesdomain", FT_BOOLEAN, BASE_NONE,
&yesno, 0, "Serves Domain", HFILL }},
{ &hf_ypserv_map, {
"Map Name", "ypserv.map", FT_STRING, BASE_DEC,