summaryrefslogtreecommitdiff
path: root/zebra/zebra_static.c
diff options
context:
space:
mode:
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) */