summaryrefslogtreecommitdiff
path: root/nest/rt-attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r--nest/rt-attr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index eeeaaa4c..d04ccfe9 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -346,6 +346,7 @@ nexthop_copy(struct nexthop *o)
n->gw = o->gw;
n->iface = o->iface;
n->next = NULL;
+ n->flags = o->flags;
n->weight = o->weight;
n->labels = o->labels;
for (int i=0; i<o->labels; i++)