]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: give precedence to new-style TLVs when generating routes
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 25 Sep 2020 21:37:48 +0000 (18:37 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 23 Oct 2020 13:30:36 +0000 (10:30 -0300)
commit48c14b34a8b1d4f04c2fa9911747f1d6747b59f2
treea873464140bb0bcb61e93854e5a53ea14f2d07ec
parent90a65457d12d8d90bf47eab1a4bb5446b3810d96
isisd: give precedence to new-style TLVs when generating routes

When both old and new-style TLVs exist for a particular prefix, give
precedence to the new-style TLV (like JUNOS does) when generating
routes from the SPT. This changes the current behavior which is to
generate a route for both TLVs, whereas the first is overwritten by
the second in a non-deterministic order (i.e. either the old-style
or the new-style TLV can "win" depending on how the SPF TENTative
list is arranged).

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_spf.c