aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/libbsc/abis_om2000_vty.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_om2000_vty.c b/openbsc/src/libbsc/abis_om2000_vty.c
index d48ff9562..64d205cee 100644
--- a/openbsc/src/libbsc/abis_om2000_vty.c
+++ b/openbsc/src/libbsc/abis_om2000_vty.c
@@ -348,6 +348,12 @@ DEFUN(cfg_bts_is_conn_list, cfg_bts_is_conn_list_cmd,
uint8_t ci = atoi(argv[3]);
struct is_conn_group *grp, *grp2;
+ if (bts->type != GSM_BTS_TYPE_RBS2000) {
+ vty_out(vty, "%% IS MO only exists in RBS2000%s",
+ VTY_NEWLINE);
+ return CMD_WARNING;
+ }
+
if (!strcmp(argv[0], "add")) {
grp = talloc_zero(bts, struct is_conn_group);
grp->icp1 = icp1;