diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2016-06-01 14:19:30 -0300 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-23 09:31:12 -0400 |
| commit | ce54994727bf237e0f89168d6818b04ea79f090d (patch) | |
| tree | bd363cc85b7031136d4d8d51407ed7bd8c737cc3 /zebra/zebra_rib.c | |
| parent | 4fcbf6e2d9a3c1f13d142e9b0dbd2369ec2b0bda (diff) | |
mpls: add support for LDP LSPs
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index f79dfafa5e..f57c0b5d67 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -205,7 +205,7 @@ rib_copy_nexthops (struct rib *rib, struct nexthop *nh) memcpy(&(nexthop->gate), &(nh->gate), sizeof(union g_addr)); memcpy(&(nexthop->src), &(nh->src), sizeof(union g_addr)); if (nh->nh_label) - nexthop_add_labels (nexthop, nh->nh_label->num_labels, + nexthop_add_labels (nexthop, nh->nh_label_type, nh->nh_label->num_labels, &nh->nh_label->label[0]); rib_nexthop_add(rib, nexthop); if (CHECK_FLAG(nh->flags, NEXTHOP_FLAG_RECURSIVE)) |
