[PATCH] libmsc: vty: Channel Requests statistics are already printed by openbsc_vty_print_statistics

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Jan Luebbe jluebbe at lasnet.de
Thu Dec 27 22:32:37 UTC 2012


From: Jan Luebbe <jluebbe at debian.org>

We don't need the same line two times.
---
 openbsc/src/libmsc/vty_interface_layer3.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/openbsc/src/libmsc/vty_interface_layer3.c b/openbsc/src/libmsc/vty_interface_layer3.c
index eeeb51f..2b70cad 100644
--- a/openbsc/src/libmsc/vty_interface_layer3.c
+++ b/openbsc/src/libmsc/vty_interface_layer3.c
@@ -728,9 +728,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),
-- 
1.7.10.4





More information about the OpenBSC mailing list