forked from acouzens/open5gs
update log message (#1266)
1. rollback ogs_error() to ogs_warn() To remove the print-out in the test code, 8/13 open5gs:epc / attach OK 10.60 s bearer-test : SUCCESS session-test : /11/30 15:59:34.556: [esm] ERROR: Invalid APN[ims2] (../src/mme/esm-handler.c:71) SUCCESS 2. if( to if ( Coding standard in open5gs
This commit is contained in:
parent
4f8c34c7aa
commit
00a296a1de
|
@ -68,7 +68,7 @@ int esm_handle_pdn_connectivity_request(mme_bearer_t *bearer,
|
|||
ogs_assert(OGS_OK ==
|
||||
nas_eps_send_pdn_connectivity_reject(
|
||||
sess, ESM_CAUSE_MISSING_OR_UNKNOWN_APN));
|
||||
ogs_error("Invalid APN[%s]", req->access_point_name.apn);
|
||||
ogs_warn("Invalid APN[%s]", req->access_point_name.apn);
|
||||
return OGS_ERROR;
|
||||
}
|
||||
}
|
||||
|
@ -174,7 +174,7 @@ int esm_handle_information_response(mme_sess_t *sess,
|
|||
mme_gtp_send_create_session_request(sess));
|
||||
}
|
||||
} else {
|
||||
if(rsp->access_point_name.apn)
|
||||
if (rsp->access_point_name.apn)
|
||||
ogs_error("Invalid APN[%s]", rsp->access_point_name.apn);
|
||||
else
|
||||
ogs_error("No APN");
|
||||
|
|
Loading…
Reference in New Issue