0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-11 17:08:46 +00:00

Nest: Fix handling of ECMP next hop flags

Flag field was not copied when next hop was cached.
This commit is contained in:
Ondrej Zajicek (work) 2019-02-17 23:03:41 +01:00
parent ed97d77073
commit fc50b2196b

@ -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; i<o->labels; i++)