aboutsummaryrefslogtreecommitdiffstats
path: root/src/e1_input_vty.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-11-11 14:13:12 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-11 14:54:53 +0100
commit37f0695626ff57e518edc071b6db10f084ea9536 (patch)
tree0d20dbe59f4b3ef3125333cf8f2ddef38098b062 /src/e1_input_vty.c
parente58d33153dd2bed3629b9a09fd6add58f296bd6a (diff)
vty: Use new vty_install_default() function
This patch removes the local 'end' and 'exit' implementations and uses the generic ones provided by libosmocore instead, which are enabled automatically when vty_install_default() is used.
Diffstat (limited to 'src/e1_input_vty.c')
-rw-r--r--src/e1_input_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/e1_input_vty.c b/src/e1_input_vty.c
index b6e1438..faaebd8 100644
--- a/src/e1_input_vty.c
+++ b/src/e1_input_vty.c
@@ -276,6 +276,8 @@ int e1inp_vty_init(void)
{
install_element(CONFIG_NODE, &cfg_e1inp_cmd);
install_node(&e1inp_node, e1inp_config_write);
+
+ vty_install_default(L_E1INP_NODE);
install_element(L_E1INP_NODE, &cfg_e1_line_driver_cmd);
install_element(L_E1INP_NODE, &cfg_e1_line_port_cmd);
install_element(L_E1INP_NODE, &cfg_e1_line_name_cmd);