mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 08:56:13 +00:00
zebra: add missing return in one get_elem() callback
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
e3c19b8145
commit
c17a3d0f32
@ -715,7 +715,7 @@ lib_vrf_zebra_ribs_rib_route_route_entry_nexthop_group_frr_nexthops_nexthop_inte
|
||||
struct nexthop *nexthop = (struct nexthop *)args->list_entry;
|
||||
|
||||
if (nexthop->ifindex)
|
||||
yang_data_new_string(
|
||||
return yang_data_new_string(
|
||||
args->xpath,
|
||||
ifindex2ifname(nexthop->ifindex, nexthop->vrf_id));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user