If the default route redistribution is configured in OSPF6 router before
the VRF is created, then this is not currently registered in zebra after
the VRF creation.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
vrf_bitmap_unset(zclient->redist[AFI_IP6][type],
ospf6->vrf_id);
}
+
+ red_list = ospf6->redist[DEFAULT_ROUTE];
+ if (red_list) {
+ if (set)
+ vrf_bitmap_set(zclient->default_information[AFI_IP6],
+ ospf6->vrf_id);
+ else
+ vrf_bitmap_unset(zclient->default_information[AFI_IP6],
+ ospf6->vrf_id);
+ }
}
/* Disable OSPF6 VRF instance */