]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix do not send twice peer up/down messages 17894/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 21 Jan 2025 14:34:13 +0000 (15:34 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 21 Jan 2025 15:01:10 +0000 (16:01 +0100)
commitb002757c266f76b8989dfddee835591a22115561
treeb40a5b5d0b5617bd231243c1d0467caedd7a2d74
parent4f65107d20901b136aa158b18e484a15df166cf0
bgpd: fix do not send twice peer up/down messages

With recent BMP code, on a standard BMP config, the peer up and peer
down messages related to a BGP peer are sent twice, whereas they should
be send only once.

Fix this by better controlling the condition.

Fixes: f8a693311145 ("bgpd: bmp, handle imported bgp instances for peer up/down events")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_bmp.c