diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2016-06-01 19:19:30 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-23 15:31:12 +0200 |
commit | ce54994727bf237e0f89168d6818b04ea79f090d (patch) | |
tree | bd363cc85b7031136d4d8d51407ed7bd8c737cc3 /zebra/zebra_rib.c | |
parent | ldpd: add vtysh support (diff) | |
download | frr-ce54994727bf237e0f89168d6818b04ea79f090d.tar.xz frr-ce54994727bf237e0f89168d6818b04ea79f090d.zip |
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 f79dfafa5..f57c0b5d6 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)) |