Fix Checkapi found errors.

svn path=/trunk/; revision=40030
This commit is contained in:
Anders Broman 2011-11-28 18:10:57 +00:00
parent c610654cc8
commit 094e30816d
3 changed files with 10 additions and 10 deletions

View File

@ -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",

View File

@ -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);

View File

@ -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;
}