aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cops.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-05-27 20:33:22 -0400
committerBill Meier <wmeier@newsguy.com>2014-05-28 15:40:39 +0000
commit48ce5629b0daaf0246f55d219d8d1ea8fd5c9699 (patch)
tree1b4e1a31ff45bccebe0bdd5ee7a3d25974ec43d3 /epan/dissectors/packet-cops.c
parente5705070c8c170ef35e92abf22f18828a9db2120 (diff)
Minor: use VALS macro (as per convention); Add editor modelines; Do whitespace changes.
Change-Id: I6007c1b2098d06e4a892474dd07f06a7538f94ef Reviewed-on: https://code.wireshark.org/review/1843 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-cops.c')
-rw-r--r--epan/dissectors/packet-cops.c23
1 files changed, 18 insertions, 5 deletions
diff --git a/epan/dissectors/packet-cops.c b/epan/dissectors/packet-cops.c
index 99c6127199..f9cd4f021f 100644
--- a/epan/dissectors/packet-cops.c
+++ b/epan/dissectors/packet-cops.c
@@ -2442,12 +2442,12 @@ void proto_register_cops(void)
},
{ &hf_cops_pcmm_classifier_activation_state,
{ "Activation State", "cops.pc_mm_classifier_activation_state",
- FT_UINT8, BASE_HEX, pcmm_activation_state_vals, 0,
+ FT_UINT8, BASE_HEX, VALS(pcmm_activation_state_vals), 0,
"PacketCable Multimedia Classifier Activation State", HFILL }
},
{ &hf_cops_pcmm_classifier_action,
{ "Action", "cops.pc_mm_classifier_action",
- FT_UINT8, BASE_HEX, pcmm_action_vals, 0,
+ FT_UINT8, BASE_HEX, VALS(pcmm_action_vals), 0,
"PacketCable Multimedia Classifier Action", HFILL }
},
{ &hf_cops_pcmm_classifier_flags,
@@ -2508,7 +2508,7 @@ void proto_register_cops(void)
},
{ &hf_cops_pcmm_flow_spec_service_number,
{ "Service Number", "cops.pc_mm_fs_svc_num",
- FT_UINT8, BASE_DEC, pcmm_flow_spec_service_vals, 0,
+ FT_UINT8, BASE_DEC, VALS(pcmm_flow_spec_service_vals), 0,
"PacketCable Multimedia Flow Spec Service Number", HFILL }
},
@@ -2690,12 +2690,12 @@ void proto_register_cops(void)
{ &hf_cops_pcmm_synch_options_report_type,
{ "Report Type", "cops.pc_mm_synch_options_report_type",
- FT_UINT8, BASE_DEC, pcmm_report_type_vals, 0,
+ FT_UINT8, BASE_DEC, VALS(pcmm_report_type_vals), 0,
"PacketCable Multimedia Synch Options Report Type", HFILL }
},
{ &hf_cops_pcmm_synch_options_synch_type,
{ "Synch Type", "cops.pc_mm_synch_options_synch_type",
- FT_UINT8, BASE_DEC, pcmm_synch_type_vals, 0,
+ FT_UINT8, BASE_DEC, VALS(pcmm_synch_type_vals), 0,
"PacketCable Multimedia Synch Options Synch Type", HFILL }
},
@@ -6259,3 +6259,16 @@ cops_analyze_packetcable_mm_obj(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
/* End of PacketCable Addition */
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */