]> git.proxmox.com Git - mirror_frr.git/commitdiff
ripd: update the default vrf name by registering to callback
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 20 Jun 2019 13:02:15 +0000 (15:02 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 27 Aug 2019 13:08:50 +0000 (15:08 +0200)
if default vrf name is updated, then rip contexts based on that
hypothetical vrfname, will be enabled.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
ripd/ripd.c

index 561fbcb52d1b33b3bdc8cd4950b4a18d54fee0b5..f5d577abaf8018fdae296c7441e15ec08afe2bb5 100644 (file)
@@ -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)