From 284116522b7d90d9dfb08d7b72397b3c8fde207e Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 21 Dec 2023 13:22:18 +0100 Subject: [PATCH] F1AP SCTP: don't bind local address binding the local address for SCTP is pointless, because we don't really care through which interface SCTP traffic goes. Actually, we even might want to set the DU remote_n_addr and the the local_n_addr to addresses in different networks, because we might want to have GTP traffic go through a different interface than SCTP, as done in the CI test for E1. --- openair2/F1AP/f1ap_du_task.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/openair2/F1AP/f1ap_du_task.c b/openair2/F1AP/f1ap_du_task.c index 7ba479e1f9..d823a35092 100644 --- a/openair2/F1AP/f1ap_du_task.c +++ b/openair2/F1AP/f1ap_du_task.c @@ -54,8 +54,6 @@ void du_task_send_sctp_association_req(instance_t instance, f1ap_net_config_t *n sctp_new_association_req_p->out_streams = 2; //du_inst->sctp_out_streams; // remote memcpy(&sctp_new_association_req_p->remote_address, &nc->CU_f1_ip_address, sizeof(nc->CU_f1_ip_address)); - // local - memcpy(&sctp_new_association_req_p->local_address, &nc->DU_f1_ip_address, sizeof(nc->DU_f1_ip_address)); // du_f1ap_register_to_sctp itti_send_msg_to_task(TASK_SCTP, instance, message_p); }