From 1f22c7e04c643aaa3a20e199393a267275b7d20d Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Fri, 4 Feb 2022 11:21:51 +0000 Subject: Trivial: change some formatting in hf item definitions --- epan/dissectors/packet-bthci_cmd.c | 2 +- epan/dissectors/packet-dplay.c | 2 +- epan/dissectors/packet-elmi.c | 2 +- epan/dissectors/packet-hdfsdata.c | 2 +- epan/dissectors/packet-hip.c | 32 +++++++++++------------ epan/dissectors/packet-homeplug-av.c | 2 +- epan/dissectors/packet-lwres.c | 6 ++--- epan/dissectors/packet-ppcap.c | 6 ++--- epan/dissectors/packet-rtps.c | 48 +++++++++++++++++------------------ epan/dissectors/packet-sercosiii.c | 2 +- plugins/epan/ethercat/packet-ecatmb.c | 2 +- 11 files changed, 53 insertions(+), 53 deletions(-) diff --git a/epan/dissectors/packet-bthci_cmd.c b/epan/dissectors/packet-bthci_cmd.c index 47506efc91..c74929737d 100644 --- a/epan/dissectors/packet-bthci_cmd.c +++ b/epan/dissectors/packet-bthci_cmd.c @@ -6600,7 +6600,7 @@ proto_register_bthci_cmd(void) "Loopback Command Bit", HFILL } }, { &hf_bthci_cmd_evt_mask_31, - { "Data Buffer Overflow" , "bthci_cmd.evt_mask_31", + { "Data Buffer Overflow", "bthci_cmd.evt_mask_31", FT_UINT8, BASE_HEX, VALS(cmd_boolean), 0x02, "Data Buffer Overflow Bit", HFILL } }, diff --git a/epan/dissectors/packet-dplay.c b/epan/dissectors/packet-dplay.c index 39e6115fc4..59eade35b6 100644 --- a/epan/dissectors/packet-dplay.c +++ b/epan/dissectors/packet-dplay.c @@ -1450,7 +1450,7 @@ void proto_register_dplay(void) { "SecDesc CAPI provider type", "dplay.sd.capi_type", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}}, { &hf_dplay_sd_enc_alg, - { "SecDesc encryption algorithm" , "dplay.sd.enc_alg", FT_UINT32, BASE_HEX, + { "SecDesc encryption algorithm", "dplay.sd.enc_alg", FT_UINT32, BASE_HEX, VALS(dplay_enc_alg_val), 0x0, NULL, HFILL}}, /* Data fields for message type 0x0001 */ diff --git a/epan/dissectors/packet-elmi.c b/epan/dissectors/packet-elmi.c index 63dbcd2dfe..16827ef7be 100644 --- a/epan/dissectors/packet-elmi.c +++ b/epan/dissectors/packet-elmi.c @@ -424,7 +424,7 @@ proto_register_elmi(void) { "Default EVC", "elmi.map.evc", FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x1, NULL, HFILL } }, { &hf_elmi_sub_info_elem, - { "Sub-Info Element :" , "elmi.sub_info.tag", FT_UINT8, BASE_HEX, + { "Sub-Info Element :", "elmi.sub_info.tag", FT_UINT8, BASE_HEX, VALS(elmi_sub_info_elem_tag), 0, NULL, HFILL } }, { &hf_elmi_sub_info_elem_len, { "Sub-Info Length", "elmi.sub_info.len", FT_UINT8, BASE_DEC, diff --git a/epan/dissectors/packet-hdfsdata.c b/epan/dissectors/packet-hdfsdata.c index 37363c77d7..516c8fbeb8 100644 --- a/epan/dissectors/packet-hdfsdata.c +++ b/epan/dissectors/packet-hdfsdata.c @@ -550,7 +550,7 @@ proto_register_hdfsdata(void) Read specific ***/ { &hf_hdfsdata_startoffset, - { "HDFSDATA start offset" , "hdfsdata.startoffset", + { "HDFSDATA start offset", "hdfsdata.startoffset", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } diff --git a/epan/dissectors/packet-hip.c b/epan/dissectors/packet-hip.c index 4c84f7b37e..f8f59fc65b 100644 --- a/epan/dissectors/packet-hip.c +++ b/epan/dissectors/packet-hip.c @@ -1458,7 +1458,7 @@ proto_register_hip(void) FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_locator_address, - { "Locator" , "hip.tlv.locator_address", + { "Locator", "hip.tlv.locator_address", FT_IPv6, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_cert_group, @@ -1498,63 +1498,63 @@ proto_register_hip(void) FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_transaction_minta, - { "Min Ta" , "hip.tlv_transaction_minta", + { "Min Ta", "hip.tlv_transaction_minta", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_from_address, - { "Address" , "hip.tlv_from_address", + { "Address", "hip.tlv_from_address", FT_IPv6, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_rvs_address, - { "RVS Address" , "hip.tlv_rvs_address", + { "RVS Address", "hip.tlv_rvs_address", FT_IPv6, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_relay_from_protocol, - { "Protocol" , "hip.tlv_relay_from_protocol", + { "Protocol", "hip.tlv_relay_from_protocol", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_relay_from_reserved, - { "Reserved" , "hip.tlv_relay_from_reserved", + { "Reserved", "hip.tlv_relay_from_reserved", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_relay_from_address, - { "Address" , "hip.tlv_relay_from_address", + { "Address", "hip.tlv_relay_from_address", FT_IPv6, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_relay_to_protocol, - { "Protocol" , "hip.tlv_relay_to_protocol", + { "Protocol", "hip.tlv_relay_to_protocol", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_relay_to_reserved, - { "Reserved" , "hip.tlv_relay_to_reserved", + { "Reserved", "hip.tlv_relay_to_reserved", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_relay_to_address, - { "Address" , "hip.tlv_relay_to_address", + { "Address", "hip.tlv_relay_to_address", FT_IPv6, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_reg_from_protocol, - { "Protocol" , "hip.tlv_reg_from_protocol", + { "Protocol", "hip.tlv_reg_from_protocol", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_reg_from_reserved, - { "Reserved" , "hip.tlv_reg_from_reserved", + { "Reserved", "hip.tlv_reg_from_reserved", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_hip_tlv_reg_from_address, - { "Address" , "hip.tlv_reg_from_address", + { "Address", "hip.tlv_reg_from_address", FT_IPv6, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_hip_encrypted_parameter_data, - { "Encrypted Parameter Data" , "hip.encrypted_parameter_data", + { "Encrypted Parameter Data", "hip.encrypted_parameter_data", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_hip_fqdn, - { "FQDN" , "hip.fqdn", + { "FQDN", "hip.fqdn", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_hip_nai, - { "NAI" , "hip.nai", + { "NAI", "hip.nai", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, }; diff --git a/epan/dissectors/packet-homeplug-av.c b/epan/dissectors/packet-homeplug-av.c index b87e43327d..a6eb2e6599 100644 --- a/epan/dissectors/packet-homeplug-av.c +++ b/epan/dissectors/packet-homeplug-av.c @@ -7028,7 +7028,7 @@ proto_register_homeplug_av(void) }, /* Sniffer Confirmation */ { &hf_homeplug_av_sniffer_cnf, - { "Sniffer Confirmation" , "homeplug_av.sniffer_cnf", + { "Sniffer Confirmation", "homeplug_av.sniffer_cnf", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_homeplug_av_sniffer_cnf_status, diff --git a/epan/dissectors/packet-lwres.c b/epan/dissectors/packet-lwres.c index 05371c2113..b2d18d2eaf 100644 --- a/epan/dissectors/packet-lwres.c +++ b/epan/dissectors/packet-lwres.c @@ -1043,11 +1043,11 @@ proto_register_lwres(void) "lwres srv weight", HFILL }}, { &hf_srv_port, - { "Port" , "lwres.srv.port", FT_UINT16, BASE_DEC, NULL, 0x0, + { "Port", "lwres.srv.port", FT_UINT16, BASE_DEC, NULL, 0x0, "lwres srv port", HFILL }}, { &hf_srv_dname, - { "DNAME" , "lwres.srv.dname", FT_STRING, BASE_NONE, NULL, 0x0, + { "DNAME", "lwres.srv.dname", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_adn_flags, @@ -1095,7 +1095,7 @@ proto_register_lwres(void) "lwres adn addr addr", HFILL }}, { &hf_ns_dname, - { "Name" , "lwres.ns.dname", FT_STRING, BASE_NONE, NULL, 0x0, + { "Name", "lwres.ns.dname", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }}, /* Add more fields here */ diff --git a/epan/dissectors/packet-ppcap.c b/epan/dissectors/packet-ppcap.c index 8147d280a8..054f56575d 100644 --- a/epan/dissectors/packet-ppcap.c +++ b/epan/dissectors/packet-ppcap.c @@ -582,7 +582,7 @@ void proto_register_ppcap(void) { "Length", "ppcap.length", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL}}, { &hf_ppcap_payload_type, - { "Payload Type" , "ppcap.payload_type", FT_STRING, + { "Payload Type", "ppcap.payload_type", FT_STRING, BASE_NONE, NULL, 0x0 , NULL, HFILL}}, { &hf_ppcap_reserved, { "Reserved", "ppcap.reserved", FT_UINT16, @@ -652,10 +652,10 @@ void proto_register_ppcap(void) { "Remote Port", "ppcap.remote_port", FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL}}, { &hf_ppcap_transport_prot, - { "Transport Protocol" , "ppcap.transport_prot", FT_STRING, + { "Transport Protocol", "ppcap.transport_prot", FT_STRING, BASE_NONE, NULL, 0x0 , NULL, HFILL}}, { &hf_ppcap_sctp_assoc, - { "SCTP Association ID" , "ppcap.sctp_assoc", FT_STRING, + { "SCTP Association ID", "ppcap.sctp_assoc", FT_STRING, BASE_NONE, NULL, 0x0 , NULL, HFILL } }, }; diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c index 8f169fe8fb..d85a3ef91a 100644 --- a/epan/dissectors/packet-rtps.c +++ b/epan/dissectors/packet-rtps.c @@ -15074,7 +15074,7 @@ void proto_register_rtps(void) { FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000020, NULL, HFILL } }, { &hf_rtps_flag_security_access_protected, { - "Access Protected" ,"rtps.flag.security.access_protected", + "Access Protected", "rtps.flag.security.access_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000001, NULL, HFILL } }, { &hf_rtps_flag_security_discovery_protected, { @@ -15090,35 +15090,35 @@ void proto_register_rtps(void) { FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000008, NULL, HFILL } }, { &hf_rtps_flag_endpoint_security_attribute_flag_is_read_protected,{ - "Read Protected" ,"rtps.flag.security.info.read_protected", + "Read Protected", "rtps.flag.security.info.read_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000001, NULL, HFILL } }, { &hf_rtps_flag_endpoint_security_attribute_flag_is_write_protected,{ - "Write Protected" ,"rtps.flag.security.info.write_protected", + "Write Protected", "rtps.flag.security.info.write_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000002, NULL, HFILL } }, { &hf_rtps_flag_endpoint_security_attribute_flag_is_discovery_protected,{ - "Discovery Protected" ,"rtps.flag.security.info.discovery_protected", + "Discovery Protected", "rtps.flag.security.info.discovery_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000004, NULL, HFILL } }, { &hf_rtps_flag_endpoint_security_attribute_flag_is_submessage_protected,{ - "Submessage Protected" ,"rtps.flag.security.info.submessage_protected", + "Submessage Protected", "rtps.flag.security.info.submessage_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000008, NULL, HFILL } }, { &hf_rtps_flag_endpoint_security_attribute_flag_is_payload_protected,{ - "Payload Protected" ,"rtps.flag.security.info.payload_protected", + "Payload Protected", "rtps.flag.security.info.payload_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000010, NULL, HFILL } }, { &hf_rtps_flag_endpoint_security_attribute_flag_is_key_protected,{ - "Key Protected" ,"rtps.flag.security.info.key_protected", + "Key Protected", "rtps.flag.security.info.key_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000020, NULL, HFILL } }, { &hf_rtps_flag_endpoint_security_attribute_flag_is_liveliness_protected,{ - "Liveliness Protected" ,"rtps.flag.security.info.liveliness_protected", + "Liveliness Protected", "rtps.flag.security.info.liveliness_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000040, NULL, HFILL } }, { &hf_rtps_flag_endpoint_security_attribute_flag_is_valid,{ - "Mask Valid" ,"rtps.flag.security.info.valid", + "Mask Valid", "rtps.flag.security.info.valid", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x80000000, NULL, HFILL } }, { &hf_rtps_param_endpoint_security_attributes_mask,{ @@ -15128,19 +15128,19 @@ void proto_register_rtps(void) { HFILL } }, { &hf_rtps_flag_plugin_endpoint_security_attribute_flag_is_payload_encrypted,{ - "Submessage Encrypted" ,"rtps.flag.security.info.plugin_submessage_encrypted", + "Submessage Encrypted", "rtps.flag.security.info.plugin_submessage_encrypted", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000001, NULL, HFILL } }, { &hf_rtps_flag_plugin_endpoint_security_attribute_flag_is_key_encrypted,{ - "Payload Encrypted" ,"rtps.flag.security.info.plugin_payload_encrypted", + "Payload Encrypted", "rtps.flag.security.info.plugin_payload_encrypted", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000002, NULL, HFILL } }, { &hf_rtps_flag_plugin_endpoint_security_attribute_flag_is_liveliness_encrypted,{ - "Submessage Origin Encrypted" ,"rtps.flag.security.info.plugin_liveliness_encrypted", + "Submessage Origin Encrypted", "rtps.flag.security.info.plugin_liveliness_encrypted", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000004, NULL, HFILL } }, { &hf_rtps_flag_plugin_endpoint_security_attribute_flag_is_valid,{ - "Mask Valid" ,"rtps.flag.security.info.plugin_valid", + "Mask Valid", "rtps.flag.security.info.plugin_valid", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x80000000, NULL, HFILL } }, { &hf_rtps_param_plugin_endpoint_security_attributes_mask,{ @@ -15151,19 +15151,19 @@ void proto_register_rtps(void) { HFILL } }, { &hf_rtps_flag_participant_security_attribute_flag_is_rtps_protected,{ - "RTPS Protected" ,"rtps.flag.security.info.participant_rtps_protected", + "RTPS Protected", "rtps.flag.security.info.participant_rtps_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000001, NULL, HFILL } }, { &hf_rtps_flag_participant_security_attribute_flag_is_discovery_protected,{ - "Discovery Protected" ,"rtps.flag.security.info.participant_discovery_protected", + "Discovery Protected", "rtps.flag.security.info.participant_discovery_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000002, NULL, HFILL } }, { &hf_rtps_flag_participant_security_attribute_flag_is_liveliness_protected,{ - "Liveliness Protected" ,"rtps.flag.security.info.participant_liveliness_protected", + "Liveliness Protected", "rtps.flag.security.info.participant_liveliness_protected", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000004, NULL, HFILL } }, { &hf_rtps_flag_participant_security_attribute_flag_is_valid,{ - "Mask Valid" ,"rtps.flag.security.info.participant_mask_valid", + "Mask Valid", "rtps.flag.security.info.participant_mask_valid", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x80000000, NULL, HFILL } }, { &hf_rtps_param_participant_security_attributes_mask,{ @@ -15174,31 +15174,31 @@ void proto_register_rtps(void) { HFILL } }, { &hf_rtps_flag_plugin_participant_security_attribute_flag_is_rtps_encrypted,{ - "RTPS Encrypted" ,"rtps.flag.security.info.plugin_participant_rtps_encrypted", + "RTPS Encrypted", "rtps.flag.security.info.plugin_participant_rtps_encrypted", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000001, NULL, HFILL } }, { &hf_rtps_flag_plugin_participant_security_attribute_flag_is_discovery_encrypted,{ - "Discovery Encrypted" ,"rtps.flag.security.info.plugin_participant_discovery_encrypted", + "Discovery Encrypted", "rtps.flag.security.info.plugin_participant_discovery_encrypted", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000002, NULL, HFILL } }, { &hf_rtps_flag_plugin_participant_security_attribute_flag_is_liveliness_encrypted,{ - "Liveliness Encrypted" ,"rtps.flag.security.info.plugin_participant_liveliness_encrypted", + "Liveliness Encrypted", "rtps.flag.security.info.plugin_participant_liveliness_encrypted", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000004, NULL, HFILL } }, { &hf_rtps_flag_plugin_participant_security_attribute_flag_is_rtps_origin_encrypted,{ - "RTPS Origin Encrypted" ,"rtps.flag.security.info.plugin_participant_rtps_origin_encrypted", + "RTPS Origin Encrypted", "rtps.flag.security.info.plugin_participant_rtps_origin_encrypted", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000008, NULL, HFILL } }, { &hf_rtps_flag_plugin_participant_security_attribute_flag_is_discovery_origin_encrypted,{ - "Discovery Origin Encrypted" ,"rtps.flag.security.info.plugin_participant_discovery_origin_encrypted", + "Discovery Origin Encrypted", "rtps.flag.security.info.plugin_participant_discovery_origin_encrypted", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000010, NULL, HFILL } }, { &hf_rtps_flag_plugin_participant_security_attribute_flag_is_liveliness_origin_encrypted,{ - "Liveliness Origin Encrypted" ,"rtps.flag.security.info.plugin_participant_liveliness_origin_encrypted", + "Liveliness Origin Encrypted", "rtps.flag.security.info.plugin_participant_liveliness_origin_encrypted", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000020, NULL, HFILL } }, { &hf_rtps_flag_plugin_participant_security_attribute_flag_is_valid,{ - "Mask Valid" ,"rtps.flag.security.info.plugin_participant_mask_valid", + "Mask Valid", "rtps.flag.security.info.plugin_participant_mask_valid", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x80000000, NULL, HFILL } }, { &hf_rtps_param_plugin_participant_security_attributes_mask,{ diff --git a/epan/dissectors/packet-sercosiii.c b/epan/dissectors/packet-sercosiii.c index 6c00fc2b9a..fbd8a31a46 100644 --- a/epan/dissectors/packet-sercosiii.c +++ b/epan/dissectors/packet-sercosiii.c @@ -1436,7 +1436,7 @@ proto_register_sercosiii(void) NULL, HFILL } }, { &hf_siii_mst_type, - { "Telegram Type" , "siii.type", + { "Telegram Type", "siii.type", FT_UINT8, BASE_DEC, VALS(siii_mst_type_text), 0x40, NULL, HFILL } }, diff --git a/plugins/epan/ethercat/packet-ecatmb.c b/plugins/epan/ethercat/packet-ecatmb.c index 05c6380868..ab352b6932 100644 --- a/plugins/epan/ethercat/packet-ecatmb.c +++ b/plugins/epan/ethercat/packet-ecatmb.c @@ -1790,7 +1790,7 @@ void proto_register_ecat_mailbox(void) FT_UINT8, BASE_HEX, VALS(FoEOpMode), 0x0, "Op modes", HFILL } }, { &hf_ecat_mailbox_foe_filelength, - { "Foe FileLength" , "ecat_mailbox.foe_filelength", + { "Foe FileLength", "ecat_mailbox.foe_filelength", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_ecat_mailbox_foe_filename, -- cgit v1.2.3