aboutsummaryrefslogtreecommitdiffstats
path: root/src/sgsn/sgsn_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sgsn/sgsn_main.c')
-rw-r--r--src/sgsn/sgsn_main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sgsn/sgsn_main.c b/src/sgsn/sgsn_main.c
index 19039f69..173df0bf 100644
--- a/src/sgsn/sgsn_main.c
+++ b/src/sgsn/sgsn_main.c
@@ -67,6 +67,7 @@
#include <osmocom/ctrl/ports.h>
#include <gtp.h>
+#include <osmocom/sgsn/sgsn_rim.h>
#include "../../bscconfig.h"
@@ -120,6 +121,8 @@ int bssgp_prim_cb(struct osmo_prim_hdr *oph, void *ctx)
break;
case SAP_BSSGP_NM:
break;
+ case SAP_BSSGP_RIM:
+ return sgsn_rim_rx(bp, oph->msg);
}
return 0;
}
@@ -311,6 +314,11 @@ static struct log_info_cat gprs_categories[] = {
.description = "GPRS Tunnelling Protocol (GTP)",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
+ [DRIM] = {
+ .name = "DRIM",
+ .description = "RAN Information Management (RIM)",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
};
static const struct log_info gprs_log_info = {