Commit d4210300 authored by Niuhaiwen's avatar Niuhaiwen

fix bug: amf crach after the first service request

parent 951db225
......@@ -375,7 +375,8 @@ void amf_n1::nas_signalling_establishment_request_handle(
} break;
case SERVICE_REQUEST: {
Logger::amf_n1().debug("Received service request message, handling...");
nc.get()->security_ctx->ul_count.seq_num = ulCount;
if (nc.get())
nc.get()->security_ctx->ul_count.seq_num = ulCount;
service_request_handle(true, nc, ran_ue_ngap_id, amf_ue_ngap_id, plain_msg);
} break;
case UE_INIT_DEREGISTER: {
......
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