summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'eigrpd/eigrp_cli.c')
-rw-r--r--eigrpd/eigrp_cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eigrpd/eigrp_cli.c b/eigrpd/eigrp_cli.c
index 35536979ea..533d7de2c2 100644
--- a/eigrpd/eigrp_cli.c
+++ b/eigrpd/eigrp_cli.c
@@ -96,6 +96,7 @@ void eigrp_cli_show_header(struct vty *vty, struct lyd_node *dnode,
void eigrp_cli_show_end_header(struct vty *vty, struct lyd_node *dnode)
{
+ vty_out(vty, "exit\n");
vty_out(vty, "!\n");
}
@@ -909,7 +910,7 @@ eigrp_cli_init(void)
install_element(EIGRP_NODE, &eigrp_neighbor_cmd);
install_element(EIGRP_NODE, &eigrp_redistribute_source_metric_cmd);
- vrf_cmd_init(NULL, &eigrpd_privs);
+ vrf_cmd_init(NULL);
if_cmd_init(eigrp_write_interface);