Change in osmo-cbc[master]: vty: use install_lib_element() and install_lib_element_ve()

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sun Oct 4 09:35:18 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-cbc/+/20442 )


Change subject: vty: use install_lib_element() and install_lib_element_ve()
......................................................................

vty: use install_lib_element() and install_lib_element_ve()

See https://lists.osmocom.org/pipermail/openbsc/2020-October/013278.html.

Change-Id: I87d3720bd4e944de461c24fe2874b3785d644221
Related: SYS#4937
---
M src/cbc_vty.c
1 file changed, 8 insertions(+), 8 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/42/20442/1

diff --git a/src/cbc_vty.c b/src/cbc_vty.c
index 6687a69..c1c777f 100644
--- a/src/cbc_vty.c
+++ b/src/cbc_vty.c
@@ -154,16 +154,16 @@
 
 void cbc_vty_init(void)
 {
-	install_element(CONFIG_NODE, &cfg_cbc_cmd);
+	install_lib_element(CONFIG_NODE, &cfg_cbc_cmd);
 	install_node(&cbc_node, config_write_cbc);
-	install_element(CBC_NODE, &cfg_permit_unknown_peers_cmd);
+	install_lib_element(CBC_NODE, &cfg_permit_unknown_peers_cmd);
 
-	install_element(CBC_NODE, &cfg_cbc_peer_cmd);
-	install_element(CBC_NODE, &cfg_cbc_no_peer_cmd);
+	install_lib_element(CBC_NODE, &cfg_cbc_peer_cmd);
+	install_lib_element(CBC_NODE, &cfg_cbc_no_peer_cmd);
 	install_node(&peer_node, config_write_peer);
-	install_element(PEER_NODE, &cfg_peer_proto_cmd);
-	install_element(PEER_NODE, &cfg_peer_remote_port_cmd);
-	install_element(PEER_NODE, &cfg_peer_no_remote_port_cmd);
-	install_element(PEER_NODE, &cfg_peer_remote_ip_cmd);
+	install_lib_element(PEER_NODE, &cfg_peer_proto_cmd);
+	install_lib_element(PEER_NODE, &cfg_peer_remote_port_cmd);
+	install_lib_element(PEER_NODE, &cfg_peer_no_remote_port_cmd);
+	install_lib_element(PEER_NODE, &cfg_peer_remote_ip_cmd);
 
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/20442
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: I87d3720bd4e944de461c24fe2874b3785d644221
Gerrit-Change-Number: 20442
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201004/2eda372d/attachment.htm>


More information about the gerrit-log mailing list