summaryrefslogtreecommitdiffstats
path: root/src/ctrl
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-08-28 18:45:37 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-28 19:10:41 +0200
commit22bc45b8bfb8d0f2d8a46c6e945f3b4388fdced0 (patch)
tree67c18e5965e5065ad563b7250dac473ddaec4c5f /src/ctrl
parent031ac9180725799576993f8abb79e3d6e4134a71 (diff)
vty: 'ctrl' node: add missing default commands like list,exit,end
Change-Id: I72569ed767b6a4d792b2867d02caa65520e27cd3
Diffstat (limited to 'src/ctrl')
-rw-r--r--src/ctrl/control_vty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ctrl/control_vty.c b/src/ctrl/control_vty.c
index a968bc01..97f42de5 100644
--- a/src/ctrl/control_vty.c
+++ b/src/ctrl/control_vty.c
@@ -82,6 +82,7 @@ int ctrl_vty_init(void *ctx)
ctrl_vty_ctx = ctx;
install_element(CONFIG_NODE, &cfg_ctrl_cmd);
install_node(&ctrl_node, config_write_ctrl);
+ vty_install_default(L_CTRL_NODE);
install_element(L_CTRL_NODE, &cfg_ctrl_bind_addr_cmd);
return 0;