diff options
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/vty_interface.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c index 265444779..76598d377 100644 --- a/openbsc/src/vty_interface.c +++ b/openbsc/src/vty_interface.c @@ -1324,8 +1324,11 @@ DEFUN(cfg_bts, } else bts = gsm_bts_num(gsmnet, bts_nr); - if (!bts) + if (!bts) { + vty_out(vty, "%% Unable to allocate BTS %u%s", + gsmnet->num_bts, VTY_NEWLINE); return CMD_WARNING; + } vty->index = bts; vty->node = BTS_NODE; |