mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 20:26:36 +00:00
bgpd: Incorrect sent prefix count for a split subgroup
When a subgroup splits to form a new subgroup because of policy changes for a peer, new subgroup copies adj out(state about advertised routes) from the parent subgroup. At the same time, it should also copy scount(advertised prefix count) to the new subgroup for the count to be in sync with the adj_out for the subgroup. Signed-off-by: Ameya Dharkar <adharkar@vmware.org>
This commit is contained in:
parent
13894ce894
commit
0ab7b206a6
@ -1182,6 +1182,8 @@ static void update_subgroup_copy_adj_out(struct update_subgroup *source,
|
|||||||
aout_copy->attr =
|
aout_copy->attr =
|
||||||
aout->attr ? bgp_attr_intern(aout->attr) : NULL;
|
aout->attr ? bgp_attr_intern(aout->attr) : NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dest->scount = source->scount;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user