aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-11-01 00:49:19 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-11-01 00:49:19 +0100
commitb1f5c71da6dec158a3d5eb0293154520e04e3ffb (patch)
tree7a355053b4833f43ba1734d777eec99bf2acdb0a /src/common
parenta5ed03fe5c2cf79949e6c06a39d310e59ebac608 (diff)
vty: skip installing cmds now always installed by default
vty_install_default() and install_default() will soon be deprecated. Depends: I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b Change-Id: I5e8e9d7989ee20fe722bdd3109965d5bce9519fb
Diffstat (limited to 'src/common')
-rw-r--r--src/common/vty.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index 1a158dbc..050f9223 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -1073,7 +1073,6 @@ int bts_vty_init(struct gsm_bts *bts, const struct log_info *cat)
install_node(&bts_node, config_write_bts);
install_element(CONFIG_NODE, &cfg_bts_cmd);
install_element(CONFIG_NODE, &cfg_vty_telnet_port_cmd);
- install_default(BTS_NODE);
install_element(BTS_NODE, &cfg_bts_unit_id_cmd);
install_element(BTS_NODE, &cfg_bts_oml_ip_cmd);
install_element(BTS_NODE, &cfg_bts_rtp_bind_ip_cmd);
@@ -1096,7 +1095,6 @@ int bts_vty_init(struct gsm_bts *bts, const struct log_info *cat)
/* add and link to TRX config node */
install_element(BTS_NODE, &cfg_bts_trx_cmd);
install_node(&trx_node, config_write_dummy);
- install_default(TRX_NODE);
install_element(TRX_NODE, &cfg_trx_user_gain_cmd);
install_element(TRX_NODE, &cfg_trx_pr_max_initial_cmd);
@@ -1111,12 +1109,10 @@ int bts_vty_init(struct gsm_bts *bts, const struct log_info *cat)
install_element(CONFIG_NODE, &cfg_phy_cmd);
install_node(&phy_node, config_write_phy);
- install_default(PHY_NODE);
install_element(PHY_NODE, &cfg_phy_inst_cmd);
install_element(PHY_NODE, &cfg_phy_no_inst_cmd);
install_node(&phy_inst_node, config_write_dummy);
- install_default(PHY_INST_NODE);
return 0;
}