aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-11 20:28:58 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-20 11:22:59 +0200
commit208250558f970c5616b45257c7e8d908b8742662 (patch)
tree3e916de9b8bbeec432571e4a55e2bde87219cc5b
parentbdb3f266681138e5462b64c943dca748fef2e54c (diff)
cscn: enable 'subscriber' vty commands for libmsc
This involves removing the openbsc_vty_print_statistics() from vty_interface_layer3.c, as this would link across the MSC/BSC border.
-rw-r--r--openbsc/src/libmsc/vty_interface_layer3.c1
-rw-r--r--openbsc/src/osmo-cscn/cscn_main.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/vty_interface_layer3.c b/openbsc/src/libmsc/vty_interface_layer3.c
index d3acb6773..529a6bad9 100644
--- a/openbsc/src/libmsc/vty_interface_layer3.c
+++ b/openbsc/src/libmsc/vty_interface_layer3.c
@@ -793,7 +793,6 @@ DEFUN(show_stats,
{
struct gsm_network *net = gsmnet_from_vty(vty);
- openbsc_vty_print_statistics(vty, net);
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),
diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c
index 2031c12c2..378965dad 100644
--- a/openbsc/src/osmo-cscn/cscn_main.c
+++ b/openbsc/src/osmo-cscn/cscn_main.c
@@ -363,6 +363,7 @@ int main(int argc, char **argv)
logging_vty_add_cmds(&log_info);
xsc_vty_init(cscn_network);
cscn_vty_init();
+ bsc_vty_init_extra();
rc = vty_read_config_file(cscn_cmdline_config.config_file, NULL);
if (rc < 0) {
LOGP(DNM, LOGL_FATAL, "Failed to parse the config file: '%s'\n",