Nest: Fix handling of ECMP next hop flags
Flag field was not copied when next hop was cached.
This commit is contained in:
parent
cfa6ff9569
commit
337165959c
1 changed files with 1 additions and 0 deletions
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue