summaryrefslogtreecommitdiff
path: root/ripd/ripd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/ripd.c')
-rw-r--r--ripd/ripd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 3d1427c3b6..37f4b57431 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -3281,6 +3281,8 @@ static int config_write_rip(struct vty *vty)
/* Interface routemap configuration */
config_write_if_rmap(vty, rip->if_rmap_ctx);
+ vty_out(vty, "exit\n");
+
write = 1;
}
@@ -3696,7 +3698,7 @@ void rip_vrf_init(void)
vrf_init(rip_vrf_new, rip_vrf_enable, rip_vrf_disable, rip_vrf_delete,
rip_vrf_enable);
- vrf_cmd_init(NULL, &ripd_privs);
+ vrf_cmd_init(NULL);
}
void rip_vrf_terminate(void)