summaryrefslogtreecommitdiff
path: root/proto/static
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2017-02-24 14:05:11 +0100
committerJan Moskyto Matejka <mq@ucw.cz>2017-02-24 14:05:11 +0100
commit039a65d0e4f33f8432caae78cd919d2fd2052eea (patch)
tree3580619e800525d1d89ef0b1a41596249f2e070c /proto/static
parent93f50ca31757fc8e416093e0c73681e070294a3d (diff)
Nexthop: Fixed hostentry
Diffstat (limited to 'proto/static')
-rw-r--r--proto/static/static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/static/static.c b/proto/static/static.c
index e5251bf6..63ee2518 100644
--- a/proto/static/static.c
+++ b/proto/static/static.c
@@ -120,7 +120,7 @@ drop:
if (r->dest == RTDX_RECURSIVE)
{
- ap->nh.labels_append = ap->nh.labels = r->label_count;
+ ap->nh.labels_orig = ap->nh.labels = r->label_count;
memcpy(ap->nh.label, r->label_stack, r->label_count * sizeof(u32));
rta_set_recursive_next_hop(p->main_channel->table, ap, p_igp_table(p), r->via, IPA_NONE);
}