diff options
| author | Russ White <russ@riw.us> | 2024-06-18 11:14:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-18 11:14:00 -0400 |
| commit | ae4e030813408932533cd11f8eb81bf7ef25be5e (patch) | |
| tree | 8583229dc4e3564e01bc4670765cf3446b0917df /lib/zclient.c | |
| parent | 627a8ac091c5db0c1d88d5e791fd6070548864f3 (diff) | |
| parent | 6d5d4f70000622b13ce73c45f69da75092fe35da (diff) | |
Merge pull request #16236 from opensourcerouting/fix/recursive_weighted_ecmp
zebra: Set the weight for non-recursive next-hop
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 1aab7b48ba..ca4880da43 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -2134,6 +2134,7 @@ struct nexthop *nexthop_from_zapi_nexthop(const struct zapi_nexthop *znh) n->ifindex = znh->ifindex; n->gate = znh->gate; n->srte_color = znh->srte_color; + n->weight = znh->weight; /* * This function currently handles labels |
