[PATCH] openbsc[master]: bsc vty: rename show_net_cmd to bsc_show_net_cmd

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/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Oct 21 00:01:11 UTC 2016


Review at  https://gerrit.osmocom.org/1135

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
---
M openbsc/src/libbsc/bsc_vty.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/35/1135/1

diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c
index 7ae9c0f..822c822 100644
--- a/openbsc/src/libbsc/bsc_vty.c
+++ b/openbsc/src/libbsc/bsc_vty.c
@@ -205,7 +205,7 @@
 			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);
@@ -3864,7 +3864,7 @@
 
 	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);

-- 
To view, visit https://gerrit.osmocom.org/1135
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb86698cd57a09f03b935b6d3fcea87eff4cd397
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list