]> git.proxmox.com Git - mirror_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:20 +0000 (08:41 +0200)
commit1c34cc6b00d3812b9521dbe1447d4e449e7babe6
tree8051cb4f3117675f13c2652a48b239e24fe8a62c
parenta2a703921ddab75d4674e96ac1ae7f0a69bdbf9d
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