]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_mpls.c
zebra: add new flag to detect nexthop label updates
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 8 Jun 2017 23:29:12 +0000 (20:29 -0300)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 9 Aug 2017 10:35:15 +0000 (12:35 +0200)
commit332ad713881b2a1231b6baf9cb8aef33d5d849a3
tree4bc0ed8295b06fa48e8653cf041b2e3ad01fa1af
parent731a75fef1a5dbae813b02aa795d386ec2106428
zebra: add new flag to detect nexthop label updates

With the introduction of the pseudowire manager, the NHT tracking code
needs to detect label updates as well.

Create a specific nexthop flag for that. We can't reuse the
RIB_ENTRY_NEXTHOPS_CHANGED flag for this porpose because this flag is
always cleared and reevaluated in rib_process(), setting it outside that
function is a nop.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/rib.h
zebra/zebra_mpls.c
zebra/zebra_rnh.c