aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-06-18 08:34:54 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-06-18 08:34:54 +0200
commitdb0caf239eb4ba73d7378a1ba5a659e2cbc7891e (patch)
treeebe425f645b6f82e94749f5d75d5c065bf8b74eb
parent421365eeaa104a9781214f9e12c55023c1099bf8 (diff)
nitb: Only print channel activations once in show statistics
openbsc_vty_print_statistics will already print these counters for us. No need to print them again.
-rw-r--r--openbsc/src/libmsc/vty_interface_layer3.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsc/src/libmsc/vty_interface_layer3.c b/openbsc/src/libmsc/vty_interface_layer3.c
index 5b727ef4c..afa263cae 100644
--- a/openbsc/src/libmsc/vty_interface_layer3.c
+++ b/openbsc/src/libmsc/vty_interface_layer3.c
@@ -799,9 +799,6 @@ DEFUN(show_stats,
struct gsm_network *net = gsmnet_from_vty(vty);
openbsc_vty_print_statistics(vty, net);
- vty_out(vty, "Channel Requests : %lu total, %lu no channel%s",
- osmo_counter_get(net->stats.chreq.total),
- osmo_counter_get(net->stats.chreq.no_channel), VTY_NEWLINE);
vty_out(vty, "Location Update : %lu attach, %lu normal, %lu periodic%s",
osmo_counter_get(net->stats.loc_upd_type.attach),
osmo_counter_get(net->stats.loc_upd_type.normal),