]> git.proxmox.com Git - mirror_frr.git/commit - ldpd/lde_lib.c
zebra: identify MPLS FTNs by route type and instance
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 8 Aug 2019 16:56:39 +0000 (13:56 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 7 Sep 2019 00:06:11 +0000 (21:06 -0300)
commite132dea0643499187cc51a332fd6616ee6df387c
tree25c71408ff9d31110e804c5966627fca59a28a83
parentbad6b0e72ea5730031b7851ee6c8e422cbb1f270
zebra: identify MPLS FTNs by route type and instance

Use the route type and instance instead of the route distance
to identify MPLS FTNs. This is a more robust approach since the
routing daemons can modify the distance of their announced routes
via configuration, which can cause inconsistencies.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
13 files changed:
ldpd/l2vpn.c
ldpd/lde.c
ldpd/lde.h
ldpd/lde_lib.c
ldpd/ldp_zebra.c
ldpd/ldpd.h
lib/zclient.c
lib/zclient.h
ospfd/ospf_sr.c
ospfd/ospf_sr.h
zebra/zapi_msg.c
zebra/zebra_mpls.c
zebra/zebra_mpls.h