diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-16 21:47:13 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-16 21:47:13 +0200 |
commit | 4f10c25ea8a6ff439b7c782bd64dff7eb98fd11d (patch) | |
tree | 484810bf984127a3a782946416618527369ee894 /openbsc/src/vty_interface_cmds.c | |
parent | dcccb1818da12041d08469ce2ab2ccd191187100 (diff) |
VTY: Move BSC specific openbsc_vty_print_statistics() to vty_interface.c
Diffstat (limited to 'openbsc/src/vty_interface_cmds.c')
-rw-r--r-- | openbsc/src/vty_interface_cmds.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/openbsc/src/vty_interface_cmds.c b/openbsc/src/vty_interface_cmds.c index 619caf56d..b7b5bf831 100644 --- a/openbsc/src/vty_interface_cmds.c +++ b/openbsc/src/vty_interface_cmds.c @@ -429,23 +429,6 @@ gDEFUN(cfg_no_description, cfg_no_description_cmd, return CMD_SUCCESS; } -void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *net) -{ - vty_out(vty, "Channel Requests : %lu total, %lu no channel%s", - counter_get(net->stats.chreq.total), - counter_get(net->stats.chreq.no_channel), VTY_NEWLINE); - vty_out(vty, "Channel Failures : %lu rf_failures, %lu rll failures%s", - counter_get(net->stats.chan.rf_fail), - counter_get(net->stats.chan.rll_err), VTY_NEWLINE); - vty_out(vty, "Paging : %lu attempted, %lu complete, %lu expired%s", - counter_get(net->stats.paging.attempted), - counter_get(net->stats.paging.completed), - counter_get(net->stats.paging.expired), VTY_NEWLINE); - vty_out(vty, "BTS failures : %lu OML, %lu RSL%s", - counter_get(net->stats.bts.oml_fail), - counter_get(net->stats.bts.rsl_fail), VTY_NEWLINE); -} - void openbsc_vty_add_cmds() { install_element_ve(&enable_logging_cmd); |