From: Russ White Date: Fri, 5 Nov 2021 19:17:31 +0000 (-0400) Subject: Merge pull request #9833 from idryzhov/cleanup-if-by-index-all-vrf X-Git-Tag: base_8.2~257 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=ed79d896b2682886bb4935a7782b2ded7c283981;p=matthieu%2Ffrr.git Merge pull request #9833 from idryzhov/cleanup-if-by-index-all-vrf *: fix usage of if_lookup_by_index_all_vrf --- ed79d896b2682886bb4935a7782b2ded7c283981 diff --cc lib/if.c index 4ccb36d091,7eaede78fd..71d2f5d9cc --- a/lib/if.c +++ b/lib/if.c @@@ -45,9 -45,9 +45,10 @@@ DEFINE_MTYPE_STATIC(LIB, NBR_CONNECTED DEFINE_MTYPE(LIB, CONNECTED_LABEL, "Connected interface label"); DEFINE_MTYPE_STATIC(LIB, IF_LINK_PARAMS, "Informational Link Parameters"); +static void if_set_name(struct interface *ifp, const char *name); static struct interface *if_lookup_by_ifindex(ifindex_t ifindex, vrf_id_t vrf_id); + static struct interface *if_lookup_by_index_all_vrf(ifindex_t ifindex); static int if_cmp_func(const struct interface *, const struct interface *); static int if_cmp_index_func(const struct interface *ifp1, const struct interface *ifp2);