From 100db763b70d7089d7222efa6aa698c611e4daa4 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 20 Jun 2019 15:02:15 +0200 Subject: [PATCH] ripd: update the default vrf name by registering to callback if default vrf name is updated, then rip contexts based on that hypothetical vrfname, will be enabled. Signed-off-by: Philippe Guibert --- ripd/ripd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ripd/ripd.c b/ripd/ripd.c index 561fbcb52..f5d577aba 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -3682,7 +3682,7 @@ static int rip_vrf_disable(struct vrf *vrf) void rip_vrf_init(void) { vrf_init(rip_vrf_new, rip_vrf_enable, rip_vrf_disable, rip_vrf_delete, - NULL); + rip_vrf_enable); } void rip_vrf_terminate(void) -- 2.39.5