Commit 4c4ff252 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Fix issue with Cause IE

parent fcacd1fb
...@@ -152,11 +152,14 @@ bool smf_n1::create_n1_pdu_session_establishment_accept( ...@@ -152,11 +152,14 @@ bool smf_n1::create_n1_pdu_session_establishment_accept(
return false; return false;
} }
sm_msg->pdu_session_establishment_accept.presence = 0x03df; sm_msg->pdu_session_establishment_accept.presence = 0x039a;
sm_msg->pdu_session_establishment_accept._5gsmcause = if (static_cast<uint8_t>(sm_cause) > 0) {
static_cast<uint8_t>(sm_cause); sm_msg->pdu_session_establishment_accept.presence = 0x039b;
Logger::smf_n1().debug( sm_msg->pdu_session_establishment_accept._5gsmcause =
"5GSM Cause: %d", sm_msg->pdu_session_establishment_accept._5gsmcause); static_cast<uint8_t>(sm_cause);
Logger::smf_n1().debug(
"5GSM Cause: %d", sm_msg->pdu_session_establishment_accept._5gsmcause);
}
// PDUAddress // PDUAddress
paa_t paa = sm_context_res.get_paa(); paa_t paa = sm_context_res.get_paa();
......
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