mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
Merge pull request #5938 from donaldsharp/redistribute_afi
zebra: Only redistribute default routes of the right afi
This commit is contained in:
commit
e5d9aae349
@ -75,6 +75,10 @@ static void zebra_redistribute_default(struct zserv *client, vrf_id_t vrf_id)
|
||||
struct route_entry *newre;
|
||||
|
||||
for (afi = AFI_IP; afi <= AFI_IP6; afi++) {
|
||||
|
||||
if (!vrf_bitmap_check(client->redist_default[afi], vrf_id))
|
||||
continue;
|
||||
|
||||
/* Lookup table. */
|
||||
table = zebra_vrf_table(afi, SAFI_UNICAST, vrf_id);
|
||||
if (!table)
|
||||
|
Loading…
Reference in New Issue
Block a user