From 83b4706f309a97a1cd6d43e4a028848e94029740 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 18 Jun 2024 12:06:46 +0300 Subject: [PATCH] lib: Get the weight from Zebra Signed-off-by: Donatas Abraitis --- lib/zclient.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5