]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: add missing return in one get_elem() callback
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 15 May 2020 21:24:54 +0000 (18:24 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 16 May 2020 02:47:43 +0000 (23:47 -0300)
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zebra_nb_state.c

index 44a2d172f16b23ae98c93eb2feeae343f0089a12..6becfcdf6fb3b52f982cb664987bf09f0cadfa47 100644 (file)
@@ -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));