diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-06-18 12:06:46 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-06-18 12:15:33 +0300 |
| commit | 83b4706f309a97a1cd6d43e4a028848e94029740 (patch) | |
| tree | 26e36326e383803e769505ff9baeca3f902477b2 /lib/zclient.c | |
| parent | 045029e2442dbca3b6e7685438d171fa05c0f968 (diff) | |
lib: Get the weight from Zebra
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
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 |
