summaryrefslogtreecommitdiff
path: root/proto/static/static.c
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2016-06-10 14:34:41 +0200
committerJan Moskyto Matejka <mq@ucw.cz>2016-12-22 13:23:52 +0100
commitec5e5d23faa482495c84163c4ae38d9a31bdc00f (patch)
treedb050c0a90a18b4452630b2929d97d1a9ebe19ef /proto/static/static.c
parent5b208e296fed0beddce16188478c5119df610d89 (diff)
Nexthop: Support for label stack in nest
Diffstat (limited to 'proto/static/static.c')
-rw-r--r--proto/static/static.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/static/static.c b/proto/static/static.c
index a63d4d29..9ecf6df8 100644
--- a/proto/static/static.c
+++ b/proto/static/static.c
@@ -88,6 +88,7 @@ static_install(struct proto *p, struct static_route *r)
nh->gw = r2->via;
nh->iface = r2->neigh->iface;
nh->weight = r2->weight;
+ nh->labels = 0;
if (a.nh.next)
nexthop_insert(&(a.nh), nh);
r2->state |= STS_INSTALLED;