]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix per afi/safi addpath peer counting
authorMitch Skiba <mskiba@amazon.com>
Thu, 14 Nov 2019 19:28:23 +0000 (19:28 +0000)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 19 Nov 2019 06:41:58 +0000 (08:41 +0200)
commitaf2c7726b0ecc93bab4e4dbe17e1cb11b65b7522
tree91b35567d2bbf8a859c2589ce18b6da1b5bbc8ff
parent48ff241f1f80b9aa27f7fb0d0b9eeaeaeebcc96b
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