]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ripngd: update the default vrf name by registering to callback
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 20 Jun 2019 13:03:14 +0000 (15:03 +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 ripng contexts based on that
hypothetical vrfname, will be enabled.

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

index 3314892e74afded39219148b8c4c4cf1823152e5..01d87682717bc55c431fc77406ce01f087401333 100644 (file)
@@ -2818,7 +2818,7 @@ static int ripng_vrf_disable(struct vrf *vrf)
 void ripng_vrf_init(void)
 {
        vrf_init(ripng_vrf_new, ripng_vrf_enable, ripng_vrf_disable,
-                ripng_vrf_delete, NULL);
+                ripng_vrf_delete, ripng_vrf_enable);
 }
 
 void ripng_vrf_terminate(void)