Commit b7df543b authored by wangyongshou's avatar wangyongshou

test ng_pdu_session_resource_modify_confirm msg

parent e99f3c1e
......@@ -142,7 +142,7 @@ Ngap_NGAP_PDU_t * ngap_generate_ng_modify_confirm(const char *inputBuf)
pdu->present = Ngap_NGAP_PDU_PR_successfulOutcome;
pdu->choice.successfulOutcome = calloc(1, sizeof(Ngap_SuccessfulOutcome_t));
pdu->choice.successfulOutcome->procedureCode = Ngap_ProcedureCode_id_PDUSessionResourceModify;
pdu->choice.successfulOutcome->procedureCode = Ngap_ProcedureCode_id_PDUSessionResourceModifyIndication;
pdu->choice.successfulOutcome->criticality = Ngap_Criticality_reject;
pdu->choice.successfulOutcome->value.present = Ngap_SuccessfulOutcome__value_PR_PDUSessionResourceModifyConfirm;
......
......@@ -21,7 +21,6 @@ int check_NGAP_pdu_constraints(Ngap_NGAP_PDU_t *pdu)
int ngap_amf_decode_pdu(Ngap_NGAP_PDU_t *pdu, const_bstring const raw)
{
Ngap_NGAP_PDU_t *decoded_pdu = pdu;
asn_dec_rval_t dec_ret = {(RC_OK)};
asn_dec_rval_t rc = asn_decode(NULL,ATS_ALIGNED_CANONICAL_PER,&asn_DEF_Ngap_NGAP_PDU,(void**)&decoded_pdu,bdata(raw),blength(raw));
if(rc.code != RC_OK)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment