lib: Get the weight from Zebra

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2024-06-18 12:06:46 +03:00
parent 045029e244
commit 83b4706f30

View File

@ -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