]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Fix 'deterministic med' to work with 'merge paths'
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 4 Aug 2019 22:29:47 +0000 (00:29 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 4 Aug 2019 22:29:47 +0000 (00:29 +0200)
commit6b68390702f53fbfd593a5ed83a4cc97de781ea5
tree1e4d910d1095b11c4f788eb234587e9b5e271cfb
parent3e389e67866b35888903bb96c50bdda258289977
BGP: Fix 'deterministic med' to work with 'merge paths'

The 'deterministic med' option is implemented by suppressing other than
best-in-group routes (grouped by ASN) from best route selection. This
interferes with 'merge paths' as supressed routes are no longer mergable
with best route. This is fixed by suppressing only those routes that are
not mergable with best-in-group route.
proto/bgp/attrs.c