aboutsummaryrefslogtreecommitdiffstats
path: root/src/ctrl/control_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctrl/control_vty.c')
-rw-r--r--src/ctrl/control_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ctrl/control_vty.c b/src/ctrl/control_vty.c
index ef988892..e141a4c8 100644
--- a/src/ctrl/control_vty.c
+++ b/src/ctrl/control_vty.c
@@ -82,10 +82,10 @@ static int config_write_ctrl(struct vty *vty)
int ctrl_vty_init(void *ctx)
{
ctrl_vty_ctx = ctx;
- install_element(CONFIG_NODE, &cfg_ctrl_cmd);
+ install_lib_element(CONFIG_NODE, &cfg_ctrl_cmd);
install_node(&ctrl_node, config_write_ctrl);
- install_element(L_CTRL_NODE, &cfg_ctrl_bind_addr_cmd);
+ install_lib_element(L_CTRL_NODE, &cfg_ctrl_bind_addr_cmd);
return 0;
}