]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix per afi/safi addpath peer counting 5354/head
authorMitch Skiba <mskiba@amazon.com>
Thu, 14 Nov 2019 19:28:23 +0000 (19:28 +0000)
committerMitch Skiba <mskiba@amazon.com>
Mon, 18 Nov 2019 19:22:04 +0000 (19:22 +0000)
commitd4a0d83bfde0e0834edcf3d261fc542286c2fec2
tree77ed749c273a9a6f064b02ca0907c535d9357085
parent1e5fe0e258a7c029eb2c9aa8b8f19a28196830da
bgpd: Fix per afi/safi addpath peer counting

The total_peercount table was created as a short cut for queries about
if addpath was enabled at all on a particular afi/safi. However, the
values weren't updated, so BGP would act as if addpath wasn't enabled
when determining if updates should be sent out. The error in behavior
was much more noticeable in tx-all than best-per-as, since changes in
what is sent by best-per-as would often trigger updates even if addpath
wasn't enabled.

Signed-off-by: Mitchell Skiba <mskiba@amazon.com>
bgpd/bgp_addpath.c