vty: 'ctrl' node: add missing default commands like list,exit,end

Change-Id: I72569ed767b6a4d792b2867d02caa65520e27cd3
This commit is contained in:
Neels Hofmeyr 2017-08-28 18:45:37 +02:00
parent 031ac91807
commit 22bc45b8bf
1 changed files with 1 additions and 0 deletions

View File

@ -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;