]> git.ipfire.org Git - thirdparty/bird.git/commit
Nest: Fix route update after preference change 241-bgp-improve-next-hop-prefer-option 248-bgp-reject-as-sets-by-default 270-reject-configuration-with-secondary-and-add-paths-tx-together
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 29 May 2025 15:34:35 +0000 (17:34 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 29 May 2025 15:34:35 +0000 (17:34 +0200)
commitfe0c22277c2130cc088ff6fa2b768b1a2b645571
tree383313c22f5b5922f867d15c7b5f8ea18738da9a
parentff16840aaaf31335e4d8843f12d10068aa44efa5
Nest: Fix route update after preference change

The route preference was ignored in route comparison, therefore if
a protocol changed it and then reloaded routes, they were ignored
and routes with the old prefernce were kept.

The bug was introduced 5 years ago, when preference was moved from
struct rte to struct rta.
nest/rt-attr.c