aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-26 15:06:37 +0100
committerHarald Welte <laforge@gnumonks.org>2016-12-22 14:07:43 +0000
commita191dcd8f01767b266b85578d0fb445d864dfabd (patch)
tree8f04032459384e3e7aef7920010d6d3f11d9a60e /openbsc/src/libbsc
parentb42dc43e288b33cb0ba467fccbe50d1de8eef878 (diff)
bsc_vty: Fix missing break statements in switch()
Change-Id: Ifd48e8d56c845603d320748144b4d7c3c24022a0 Fixes: Coverity CID 135188 Fixes: Coverity CID 135190
Diffstat (limited to 'openbsc/src/libbsc')
-rw-r--r--openbsc/src/libbsc/bsc_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c
index e3ec8d9..01ee4df 100644
--- a/openbsc/src/libbsc/bsc_vty.c
+++ b/openbsc/src/libbsc/bsc_vty.c
@@ -2799,9 +2799,11 @@ DEFUN(cfg_bts_si2quater_uarfcn_add, cfg_bts_si2quater_uarfcn_add_cmd,
case -ENOMEM:
vty_out(vty, "Unable to add arfcn: max number of UARFCNs (%u) "
"reached%s", MAX_EARFCN_LIST, VTY_NEWLINE);
+ return CMD_WARNING;
case -ENOSPC:
vty_out(vty, "Warning: not enough space in si2quater for a "
"given arfcn%s", VTY_NEWLINE);
+ return CMD_WARNING;
case -EADDRINUSE:
vty_out(vty, "Unable to add arfcn: (%u, %u) is already added%s",
arfcn, scramble, VTY_NEWLINE);