diff options
Diffstat (limited to 'zebra/zebra_vrf.c')
| -rw-r--r-- | zebra/zebra_vrf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/zebra/zebra_vrf.c b/zebra/zebra_vrf.c index f88a65d952..553864d089 100644 --- a/zebra/zebra_vrf.c +++ b/zebra/zebra_vrf.c @@ -141,9 +141,8 @@ static int zebra_vrf_enable(struct vrf *vrf) zvrf->zns = zebra_ns_lookup((ns_id_t)vrf->vrf_id); else zvrf->zns = zebra_ns_lookup(NS_DEFAULT); -#if defined(HAVE_RTADV) + rtadv_vrf_init(zvrf); -#endif /* Inform clients that the VRF is now active. This is an * add for the clients. @@ -186,9 +185,7 @@ static int zebra_vrf_disable(struct vrf *vrf) /* Stop any VxLAN-EVPN processing. */ zebra_vxlan_vrf_disable(zvrf); -#if defined(HAVE_RTADV) rtadv_vrf_terminate(zvrf); -#endif /* Inform clients that the VRF is now inactive. This is a * delete for the clients. |
