From 214236fd5d89535985a18677de760c68fee9e11a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 15 Jan 2017 20:22:14 +0100 Subject: 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. --- src/host/layer23/src/mobile/vty_interface.c | 1 - 1 file changed, 1 deletion(-) 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); -- cgit v1.2.3