Commit b9d2c02f authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Tentative fix for heartbeat issue for CI/CD

parent 3335e710
......@@ -395,12 +395,13 @@ void smf_n4::handle_receive_association_setup_request(
(uint32_t) recovery_time_stamp};
a.pfcp_ies.set(r);
a.pfcp_ies.set(cp_function_features);
if (node_id.node_id_type == pfcp::NODE_ID_TYPE_IPV4_ADDRESS) {
if ((node_id.node_id_type != pfcp::NODE_ID_TYPE_IPV6_ADDRESS) and
(node_id.node_id_type != pfcp::NODE_ID_TYPE_UNKNOWN)) {
a.r_endpoint = remote_endpoint;
send_n4_msg(a);
} else {
Logger::smf_n4().warn(
"Received N4 ASSOCIATION SETUP REQUEST node_id IPV6, FQDN!, "
"Received N4 ASSOCIATION SETUP REQUEST node_id IPV6!"
"ignore message");
return;
}
......
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