diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-12-16 23:39:53 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-12-16 23:39:53 +0100 |
commit | 337165959c5a556d6556fb2acbba5e7f2b1c35a5 (patch) | |
tree | 7522d0addf1a285ff4a5b58d356eb321dccc5389 /nest | |
parent | cfa6ff95695bcaff0c1046c63eb4a839c7a90cb7 (diff) |
Nest: Fix handling of ECMP next hop flags
Flag field was not copied when next hop was cached.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-attr.c | 1 |
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++) |