]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Incorrect sent prefix count for a split subgroup 3153/head
authorAmeya Dharkar <adharkar@vmware.com>
Tue, 9 Oct 2018 18:56:46 +0000 (11:56 -0700)
committerAmeya Dharkar <adharkar@vmware.com>
Wed, 10 Oct 2018 18:34:40 +0000 (11:34 -0700)
commit0ab7b206a6eb5f059de5a7ce9cfe966a5ccd8ad5
treec0e65a95b0d1fd919fd40486846d91908e5cc2bb
parent13894ce894b91f4242da3edce8f1cb0448b47f3d
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>
bgpd/bgp_updgrp.c