diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2020-05-15 23:24:54 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2020-05-16 04:47:43 +0200 |
commit | c17a3d0f3206c874e3e57d503594d61e88bca1b1 (patch) | |
tree | ed7910271fcfdc3818d1e82c9567913ed7f8e13c /zebra/zebra_nb_state.c | |
parent | isisd: fix crash in the adjacency get_next() NB callback (diff) | |
download | frr-c17a3d0f3206c874e3e57d503594d61e88bca1b1.tar.xz frr-c17a3d0f3206c874e3e57d503594d61e88bca1b1.zip |
zebra: add missing return in one get_elem() callback
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_nb_state.c')
-rw-r--r-- | zebra/zebra_nb_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_nb_state.c b/zebra/zebra_nb_state.c index 44a2d172f..6becfcdf6 100644 --- a/zebra/zebra_nb_state.c +++ b/zebra/zebra_nb_state.c @@ -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)); |