change e2ap_port port

master
Piotr Gawlowicz 2 years ago committed by Justin Tallon
parent 4bf162cbf1
commit 2de3c199cb

@ -21,7 +21,7 @@
#include "srsran/interfaces/e2_metrics_interface.h"
#include "srsran/srsran.h"
static const int e2ap_ppid = 70;
static const int e2ap_port = 36422;
static const int e2ap_port = 36421;
enum e2_msg_type_t { E2_SETUP_REQUEST, E2_SUB_RESPONSE, E2_INDICATION, E2_RESET, E2_RESET_RESPONSE };

@ -36,13 +36,13 @@ bool ric_client::init()
}
// Bind socket
if (not ric_socket.bind_addr("172.17.0.3", 36422)) {
if (not ric_socket.bind_addr("127.0.0.1", 36425)) {
ric_socket.close();
return false;
}
// Connect to the AMF address
if (not ric_socket.connect_to("10.104.149.217", e2ap_port, &ric_addr)) {
if (not ric_socket.connect_to("127.0.0.1", e2ap_port, &ric_addr)) {
return false;
}
// Assign a handler to rx RIC packets

Loading…
Cancel
Save