RBS2000: Ensure the is-connection-list command is only used on RBS2000
... and not on other BTS models. Change-Id: I8882ca9a9ab974b0bbdcbd5c3bab0eadf4bc0927
This commit is contained in:
parent
c1efa67c13
commit
fe7be8ddd0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue