]> git.ipfire.org Git - thirdparty/bird.git/commit
Nest: Avoid spurious announcements triggered by filtered routes
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 6 Dec 2022 18:40:02 +0000 (19:40 +0100)
committerIgor Putovny <igor.putovny@nic.cz>
Thu, 30 May 2024 10:29:59 +0000 (12:29 +0200)
commit670fb5652edca6573dbdf1cf53a201acb24339d7
treed56ae3596151f5ed871a28b86945082eeb36329a
parentb51bf94f46beed1d9b419e0d1348d599dd51a776
Nest: Avoid spurious announcements triggered by filtered routes

When filtered routes (enabled by 'import keep filtered' option) are
updated, they trigger announcements by rte_announce(). For regular
channels (e.g. type RA_OPTIMAL or RA_ANY) such announcement is just
ignored, but in case of RA_ACCEPTED (BGP peer with 'secondary' option)
it just reannounces the old (and still valid) best route.

The patch ensures that such no-change is ignored even for these channels.
nest/rt-table.c