[PATCH] osmo-sip-connector[master]: vty: install default commands for SIP, MNCC, APP_NODE

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
Tue Sep 19 01:30:18 UTC 2017


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

vty: install default commands for SIP,MNCC,APP_NODE

Change-Id: Iee51881cc07d56209647fb4f505f8f6be6b885f0
---
M src/vty.c
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-sip-connector refs/changes/88/3988/1

diff --git a/src/vty.c b/src/vty.c
index f3d9467..83e250d 100644
--- a/src/vty.c
+++ b/src/vty.c
@@ -300,15 +300,18 @@
 
 	install_element(CONFIG_NODE, &cfg_sip_cmd);
 	install_node(&sip_node, config_write_sip);
+	vty_install_default(SIP_NODE);
 	install_element(SIP_NODE, &cfg_sip_local_addr_cmd);
 	install_element(SIP_NODE, &cfg_sip_remote_addr_cmd);
 
 	install_element(CONFIG_NODE, &cfg_mncc_cmd);
 	install_node(&mncc_node, config_write_mncc);
+	vty_install_default(MNCC_NODE);
 	install_element(MNCC_NODE, &cfg_mncc_path_cmd);
 
 	install_element(CONFIG_NODE, &cfg_app_cmd);
 	install_node(&app_node, config_write_app);
+	vty_install_default(APP_NODE);
 	install_element(APP_NODE, &cfg_use_imsi_cmd);
 	install_element(APP_NODE, &cfg_no_use_imsi_cmd);
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee51881cc07d56209647fb4f505f8f6be6b885f0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list