aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-12 01:53:23 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-12 15:50:36 +0100
commit0548ac6bbd64cd45cfe9f961a40a8ea0031646c0 (patch)
treeca281c9d9910a1f67681736c2fd1005860a19130 /openbsc
parentb8d11ed1c0ba2681786ca27d67f83d9875eff8f5 (diff)
bsc vty: rename show_net_cmd to bsc_show_net_cmd
Future: there will be an MSC-land show-net-cmd, so rename to something with bsc in its name. Change-Id: Ifb86698cd57a09f03b935b6d3fcea87eff4cd397
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/libbsc/bsc_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c
index ee4bfff49..963d680ae 100644
--- a/openbsc/src/libbsc/bsc_vty.c
+++ b/openbsc/src/libbsc/bsc_vty.c
@@ -205,7 +205,7 @@ static void net_dump_vty(struct vty *vty, struct gsm_network *net)
VTY_NEWLINE);
}
-DEFUN(show_net, show_net_cmd, "show network",
+DEFUN(bsc_show_net, bsc_show_net_cmd, "show network",
SHOW_STR "Display information about a GSM NETWORK\n")
{
struct gsm_network *net = gsmnet_from_vty(vty);
@@ -3914,7 +3914,7 @@ int bsc_vty_init(const struct log_info *cat, struct gsm_network *network)
xsc_vty_init(network, config_write_net);
- install_element_ve(&show_net_cmd);
+ install_element_ve(&bsc_show_net_cmd);
install_element_ve(&show_bts_cmd);
install_element_ve(&show_trx_cmd);
install_element_ve(&show_ts_cmd);