aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-28 18:10:57 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-28 18:10:57 +0000
commita06437db6dba29197c1380d39b5efcd712dfce6b (patch)
tree5ac33820c5714204486fc95610516c35ded318f5
parent2b89c2a0c94fa72880cc4566ee0514b340c69070 (diff)
Fix Checkapi found errors.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40030 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--epan/dissectors/packet-bfd.c12
-rw-r--r--epan/dissectors/packet-gsm_a_gm.c4
-rw-r--r--epan/dissectors/packet-mpls.c4
3 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-bfd.c b/epan/dissectors/packet-bfd.c
index 9594010512..021c26ef01 100644
--- a/epan/dissectors/packet-bfd.c
+++ b/epan/dissectors/packet-bfd.c
@@ -831,32 +831,32 @@ void proto_register_bfd(void)
{ &hf_mep_tunnel_no,
{ "Tunnel Number", "mep.tunnel.no",
FT_UINT16, BASE_DEC, NULL , 0x0,
- "Tunnel Number", HFILL }
+ NULL, HFILL }
},
{ &hf_mep_lsp_no,
{ "LSP Number", "mep.lsp.no",
FT_UINT16, BASE_DEC, NULL , 0x0,
- "LSP Number", HFILL }
+ NULL, HFILL }
},
{ &hf_mep_ac_id,
{ "AC Id", "mep.ac.id",
FT_UINT32, BASE_DEC, NULL , 0x0,
- "AC Identifier", HFILL }
+ NULL, HFILL }
},
{ &hf_mep_agi_type,
{ "AGI TYPE", "mep.agi.type",
FT_UINT8, BASE_DEC, NULL , 0x0,
- "AGI TYPE", HFILL }
+ NULL, HFILL }
},
{ &hf_mep_agi_len,
{ "AGI Length", "mep.agi.len",
FT_UINT8, BASE_DEC, NULL , 0x0,
- "AGI Length", HFILL }
+ NULL, HFILL }
},
{ &hf_mep_agi_val,
{ "AGI value", "mep.agi.val",
FT_STRING, BASE_NONE, NULL , 0x0,
- "AGI String", HFILL }
+ NULL, HFILL }
},
{ &hf_section_interface_no,
{ "Interface Number", "mep.interface.no",
diff --git a/epan/dissectors/packet-gsm_a_gm.c b/epan/dissectors/packet-gsm_a_gm.c
index 26384619be..8a04b852ff 100644
--- a/epan/dissectors/packet-gsm_a_gm.c
+++ b/epan/dissectors/packet-gsm_a_gm.c
@@ -6301,7 +6301,7 @@ dtap_sm_req_sec_pdp_act(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, gui
/* 36 TFT Traffic Flow Template 10.5.6.12 O TLV 3-257 */
ELEM_OPT_TLV(0x36, GSM_A_PDU_TYPE_GM, DE_TRAFFIC_FLOW_TEMPLATE, NULL);
- /* 27 Protocol configuration options Protocol configuration options 10.5.6.3 O TLV 3 – 253 */
+ /* 27 Protocol configuration options Protocol configuration options 10.5.6.3 O TLV 3 - 253 */
ELEM_OPT_TLV(0x27, GSM_A_PDU_TYPE_GM, DE_PRO_CONF_OPT, NULL);
EXTRANEOUS_DATA_CHECK_EXPERT(curr_len, 0, pinfo);
@@ -6327,7 +6327,7 @@ dtap_sm_req_sec_pdp_act_rej(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
/* SM cause SM cause 10.5.6.6 M V 1 */
ELEM_MAND_V(GSM_A_PDU_TYPE_GM, DE_SM_CAUSE, NULL);
- /* 27 Protocol configuration options Protocol configuration options 10.5.6.3 O TLV 3 – 253 */
+ /* 27 Protocol configuration options Protocol configuration options 10.5.6.3 O TLV 3 - 253 */
ELEM_OPT_TLV(0x27, GSM_A_PDU_TYPE_GM, DE_PRO_CONF_OPT, NULL);
EXTRANEOUS_DATA_CHECK_EXPERT(curr_len, 0, pinfo);
diff --git a/epan/dissectors/packet-mpls.c b/epan/dissectors/packet-mpls.c
index 981dc0a32a..a8bd8354e6 100644
--- a/epan/dissectors/packet-mpls.c
+++ b/epan/dissectors/packet-mpls.c
@@ -836,13 +836,13 @@ dissect_mpls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
if (label == LABEL_GACH && bos) {
- strcpy(PW_ACH,"Generic Associated Channel Header");
+ g_strlcpy(PW_ACH,"Generic Associated Channel Header",50);
next_tvb = tvb_new_subset_remaining(tvb, offset);
dissect_pw_ach( next_tvb, pinfo, tree );
return;
}
else
- strcpy(PW_ACH,"PW Associated Channel Header");
+ g_strlcpy(PW_ACH,"PW Associated Channel Header",50);
if (bos) break;
}