]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_rib.c
zebra: implement recursive MPLS labels
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 20 Sep 2017 03:05:25 +0000 (00:05 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 22 Jan 2018 16:55:22 +0000 (11:55 -0500)
commitf674dfe234515156eca7618bf2fc647ccfd34787
treeff66eeb33e37501710fb55fdc1a9d266616018eb
parent7cf15b250181f0b108c6b9e1899d3bb4f933e836
zebra: implement recursive MPLS labels

When a nexthop is resolved via a label based nexthop, copy
the labels into the newly created recursive nexthop.

Please note that this does not fix the case where we
have a label based nexthop that is recursively resolved
through *another* nexthop that is also label based.
In this case we need to create a new label stack
for those routes.

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