Commit 33716595 authored by Ondrej Zajicek (work)'s avatar Ondrej Zajicek (work)
Browse files

Nest: Fix handling of ECMP next hop flags

Flag field was not copied when next hop was cached.
parent cfa6ff95
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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++)