From: Ondrej Zajicek (work) Date: Sun, 16 Dec 2018 22:39:53 +0000 (+0100) Subject: Nest: Fix handling of ECMP next hop flags X-Git-Tag: v2.0.3~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=337165959c5a556d6556fb2acbba5e7f2b1c35a5;p=thirdparty%2Fbird.git Nest: Fix handling of ECMP next hop flags Flag field was not copied when next hop was cached. --- diff --git a/nest/rt-attr.c b/nest/rt-attr.c index eeeaaa4ce..d04ccfe9f 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; ilabels; i++)