diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-11-01 00:52:12 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-11-01 00:52:12 +0100 |
commit | b10a2947d511e5637ea8d4fc990efb06fb48b061 (patch) | |
tree | cf3f141318c6646a0923b477ec80ec258404f207 | |
parent | fea0609f4b53ea2b43424f17f9ca4a7fd7d7fbcb (diff) |
vty: skip installing cmds now always installed by default
vty_install_default() and install_default() will soon be deprecated.
Depends: I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b
Change-Id: Iee1b582a62921cb3205de01ff87d94881e8d411b
-rw-r--r-- | src/gprs/gb_proxy_vty.c | 1 | ||||
-rw-r--r-- | src/gprs/gtphub_vty.c | 1 | ||||
-rw-r--r-- | src/gprs/sgsn_vty.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/gprs/gb_proxy_vty.c b/src/gprs/gb_proxy_vty.c index 156f33783..25ef75651 100644 --- a/src/gprs/gb_proxy_vty.c +++ b/src/gprs/gb_proxy_vty.c @@ -808,7 +808,6 @@ int gbproxy_vty_init(void) install_element(CONFIG_NODE, &cfg_gbproxy_cmd); install_node(&gbproxy_node, config_write_gbproxy); - vty_install_default(GBPROXY_NODE); install_element(GBPROXY_NODE, &cfg_nsip_sgsn_nsei_cmd); install_element(GBPROXY_NODE, &cfg_gbproxy_core_mcc_cmd); install_element(GBPROXY_NODE, &cfg_gbproxy_core_mnc_cmd); diff --git a/src/gprs/gtphub_vty.c b/src/gprs/gtphub_vty.c index 3a46e817d..ec35e4dc9 100644 --- a/src/gprs/gtphub_vty.c +++ b/src/gprs/gtphub_vty.c @@ -583,7 +583,6 @@ int gtphub_vty_init(struct gtphub *global_hub, struct gtphub_cfg *global_cfg) install_element(CONFIG_NODE, &cfg_gtphub_cmd); install_node(>phub_node, config_write_gtphub); - vty_install_default(GTPHUB_NODE); install_element(GTPHUB_NODE, &cfg_gtphub_bind_to_sgsns_short_cmd); install_element(GTPHUB_NODE, &cfg_gtphub_bind_to_sgsns_cmd); diff --git a/src/gprs/sgsn_vty.c b/src/gprs/sgsn_vty.c index 496bd6806..a01de2d7a 100644 --- a/src/gprs/sgsn_vty.c +++ b/src/gprs/sgsn_vty.c @@ -1232,7 +1232,6 @@ int sgsn_vty_init(struct sgsn_config *cfg) install_element(CONFIG_NODE, &cfg_sgsn_cmd); install_node(&sgsn_node, config_write_sgsn); - vty_install_default(SGSN_NODE); install_element(SGSN_NODE, &cfg_sgsn_bind_addr_cmd); install_element(SGSN_NODE, &cfg_ggsn_remote_ip_cmd); //install_element(SGSN_NODE, &cfg_ggsn_remote_port_cmd); |