forked from acouzens/open5gs
add ErrorIndication(Proceduer ID : 15, initiating message) decoder
This commit is contained in:
parent
3503fda431
commit
b424213768
|
@ -164,6 +164,14 @@ static int s1ap_decode_initiating(s1ap_message_t *message,
|
|||
s1ap_xer__print2sp, message);
|
||||
break;
|
||||
|
||||
case S1ap_ProcedureCode_id_ErrorIndication:
|
||||
ret = s1ap_decode_s1ap_errorindicationies(
|
||||
&message->s1ap_ErrorIndicationIEs,
|
||||
&initiating_p->value);
|
||||
s1ap_decode_xer_print_message(
|
||||
s1ap_xer_print_s1ap_errorindication,
|
||||
s1ap_xer__print2sp, message);
|
||||
break;
|
||||
default:
|
||||
d_error("Unknown procedure ID (%d) for initiating message",
|
||||
(int)initiating_p->procedureCode);
|
||||
|
|
|
@ -130,6 +130,11 @@ static inline int s1ap_free_initiating_message(s1ap_message_t *message)
|
|||
&message->s1ap_NASNonDeliveryIndication_IEs);
|
||||
break;
|
||||
|
||||
case S1ap_ProcedureCode_id_ErrorIndication:
|
||||
s1ap_free_s1ap_errorindicationies(
|
||||
&message->s1ap_ErrorIndicationIEs);
|
||||
break;
|
||||
|
||||
default:
|
||||
d_warn("Unknown procedure ID (%d) for initiating message\n",
|
||||
(int)message->procedureCode);
|
||||
|
|
Loading…
Reference in New Issue