From: Ondrej Zajicek (work) Date: Sun, 17 Feb 2019 22:03:41 +0000 (+0100) Subject: Nest: Fix handling of ECMP next hop flags X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc50b2196b255b8d20b22aa540b26fd0bb5779e0;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 881687de5..d0d116170 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -331,6 +331,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++)