summaryrefslogtreecommitdiff
path: root/zebra/zebra_static.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-06-01 14:19:30 -0300
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 09:31:12 -0400
commitce54994727bf237e0f89168d6818b04ea79f090d (patch)
treebd363cc85b7031136d4d8d51407ed7bd8c737cc3 /zebra/zebra_static.c
parent4fcbf6e2d9a3c1f13d142e9b0dbd2369ec2b0bda (diff)
mpls: add support for LDP LSPs
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_static.c')
-rw-r--r--zebra/zebra_static.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_static.c b/zebra/zebra_static.c
index fddc9d54c8..f2362e6871 100644
--- a/zebra/zebra_static.c
+++ b/zebra/zebra_static.c
@@ -98,7 +98,7 @@ static_install_route (afi_t afi, safi_t safi, struct prefix *p, struct static_ro
}
/* Update label(s), if present. */
if (si->snh_label.num_labels)
- nexthop_add_labels (nexthop, si->snh_label.num_labels,
+ nexthop_add_labels (nexthop, ZEBRA_LSP_STATIC, si->snh_label.num_labels,
&si->snh_label.label[0]);
if (IS_ZEBRA_DEBUG_RIB)
@@ -162,7 +162,7 @@ static_install_route (afi_t afi, safi_t safi, struct prefix *p, struct static_ro
}
/* Update label(s), if present. */
if (si->snh_label.num_labels)
- nexthop_add_labels (nexthop, si->snh_label.num_labels,
+ nexthop_add_labels (nexthop, ZEBRA_LSP_STATIC, si->snh_label.num_labels,
&si->snh_label.label[0]);
/* Save the flags of this static routes (reject, blackhole) */