Change in osmo-pcap[master]: vty: skip installing cmds now always installed by default

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Oct 8 11:36:38 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11267


Change subject: vty: skip installing cmds now always installed by default
......................................................................

vty: skip installing cmds now always installed by default

Fixes following compilation warning:
osmo-pcap/src/osmo_client_vty.c:511:2: warning: ‘install_default’ is deprecated: Now happens implicitly with install_node() [-Wdeprecated-declarations]

Depends: libosmocore I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b
Change-Id: I943f68dbafd7906313ad9e59f4adb289ae23cdec
---
M src/osmo_client_vty.c
M src/osmo_server_vty.c
2 files changed, 0 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/67/11267/1

diff --git a/src/osmo_client_vty.c b/src/osmo_client_vty.c
index 29f7051..e50099f 100644
--- a/src/osmo_client_vty.c
+++ b/src/osmo_client_vty.c
@@ -508,10 +508,8 @@
 {
 	install_element(CONFIG_NODE, &cfg_client_cmd);
 	install_node(&client_node, config_write_client);
-	install_default(CLIENT_NODE);
 
 	install_node(&server_node, config_write_server);
-	install_default(CLIENT_SERVER_NODE);
 
 	install_element(CLIENT_NODE, &cfg_client_device_cmd);
 	install_element(CLIENT_NODE, &cfg_client_filter_cmd);
diff --git a/src/osmo_server_vty.c b/src/osmo_server_vty.c
index b2919ae..d10ff51 100644
--- a/src/osmo_server_vty.c
+++ b/src/osmo_server_vty.c
@@ -506,7 +506,6 @@
 {
 	install_element(CONFIG_NODE, &cfg_server_cmd);
 	install_node(&server_node, config_write_server);
-	install_default(SERVER_NODE);
 
 	install_element(SERVER_NODE, &cfg_server_base_cmd);
 	install_element(SERVER_NODE, &cfg_server_ip_cmd);

-- 
To view, visit https://gerrit.osmocom.org/11267
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I943f68dbafd7906313ad9e59f4adb289ae23cdec
Gerrit-Change-Number: 11267
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181008/74d6f3a4/attachment.htm>


More information about the gerrit-log mailing list