[MERGED] 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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Dec 2 12:09:19 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: bsc vty: rename show_net_cmd to bsc_show_net_cmd
......................................................................


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c
index d7d62bb..e3f0464 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);
@@ -3914,7 +3914,7 @@
 
 	common_cs_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: merged
Gerrit-Change-Id: Ifb86698cd57a09f03b935b6d3fcea87eff4cd397
Gerrit-PatchSet: 8
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list