summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-09-19 03:29:48 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-09-19 03:30:03 +0200
commit535df15bc5a2fc0119e6f3c9d2eeec20944aabfa (patch)
tree02228224aa4ed4556e3450f980db63122f2384f3
parentb6032727870ab2b98372b697d91f7256da4f32b3 (diff)
vty: install default commands for SIP,MNCC,APP_NODE
-rw-r--r--src/vty.c3
1 files changed, 3 insertions, 0 deletions
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 @@ void mncc_sip_vty_init(void)
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);