summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/vty_interface.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-15 20:22:14 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-15 20:46:26 +0100
commit214236fd5d89535985a18677de760c68fee9e11a (patch)
treef2cdf584bd0bf3223e05e40d32b16e6a3cb0d772 /src/host/layer23/src/mobile/vty_interface.c
parentf95d518c63b5d41f601a8d2eba61c2345bdbd2a2 (diff)
mobile.c: Don't register 'end' command to CONFIG_NODE
The CONFIG_NODE already has an 'end' command, and recent versions of libosmocore actualyl check for conflicting/duplicate command registrations and make the application crash in this case.
Diffstat (limited to 'src/host/layer23/src/mobile/vty_interface.c')
-rw-r--r--src/host/layer23/src/mobile/vty_interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/host/layer23/src/mobile/vty_interface.c b/src/host/layer23/src/mobile/vty_interface.c
index eda181a9..78d136de 100644
--- a/src/host/layer23/src/mobile/vty_interface.c
+++ b/src/host/layer23/src/mobile/vty_interface.c
@@ -2869,7 +2869,6 @@ int ms_vty_init(void)
install_element(CONFIG_NODE, &cfg_ms_create_cmd);
install_element(CONFIG_NODE, &cfg_ms_rename_cmd);
install_element(CONFIG_NODE, &cfg_no_ms_cmd);
- install_element(CONFIG_NODE, &ournode_end_cmd);
install_node(&ms_node, config_write);
install_default(MS_NODE);
install_element(MS_NODE, &ournode_exit_cmd);