Commit 4694bef8 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Code cleanup

parent 747640d2
...@@ -3776,11 +3776,11 @@ bool amf_n1::reroute_registration_request(std::shared_ptr<nas_context>& nc) { ...@@ -3776,11 +3776,11 @@ bool amf_n1::reroute_registration_request(std::shared_ptr<nas_context>& nc) {
Logger::amf_n1().debug( Logger::amf_n1().debug(
"Could not find an appropriate target AMF to handle UE"); "Could not find an appropriate target AMF to handle UE");
// Reroute NAS message via AN // Reroute NAS message via AN
std::string target_amf_set = {}; std::string target_amf_set = {};
if (authorized_network_slice_info.targetAmfSetIsSet()) { if (authorized_network_slice_info.targetAmfSetIsSet()) {
target_amf_set = authorized_network_slice_info.getTargetAmfSet(); target_amf_set = authorized_network_slice_info.getTargetAmfSet();
} else { } else {
Logger::amf_n1().debug("No Target AMF Set info available!");
return false; return false;
} }
......
...@@ -59,7 +59,7 @@ void N1MessageNotifyApiImpl::receive_n1_message_notification( ...@@ -59,7 +59,7 @@ void N1MessageNotifyApiImpl::receive_n1_message_notification(
int ret = itti_inst->send_msg(itti_msg); int ret = itti_inst->send_msg(itti_msg);
if (0 != ret) { if (0 != ret) {
Logger::amf_server().error( Logger::amf_server().error(
"Could not send ITTI message %s to task TASK_AMF_N2", "Could not send ITTI message %s to task TASK_AMF_APP",
itti_msg->get_msg_name()); itti_msg->get_msg_name());
} }
} }
......
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