summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-06-20 22:36:12 +0200
committerHarald Welte <laforge@gnumonks.org>2009-06-20 22:36:12 +0200
commit879dc971ff61c8405a9bdb505b24ec66296ecb4f (patch)
tree5837e9b40a649713ef9980b5e739e6297243f31c
parent93e9d17b05f0c3147fbef43d103ddfa031a4f042 (diff)
fix setfault during registration of VTY TRX function
-rw-r--r--openbsc/src/vty_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index a2b3e5620..1b6004631 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -947,7 +947,7 @@ int bsc_vty_init(struct gsm_network *net)
install_node(&trx_node, dummy_config_write);
install_default(TRX_NODE);
install_element(TRX_NODE, &cfg_trx_arfcn_cmd);
- install_element(TRX_NODE, &cfg_trx_max_power_red);
+ install_element(TRX_NODE, &cfg_trx_max_power_red_cmd);
install_element(TRX_NODE, &cfg_ts_cmd);
install_node(&ts_node, dummy_config_write);