]> git.puffer.fish Git - mirror/frr.git/commit
lib/zebra: put vrf_get() on a diet
authorRenato Westphal <renato@opensourcerouting.org>
Sun, 30 Oct 2016 00:44:06 +0000 (22:44 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 28 Nov 2016 18:18:35 +0000 (16:18 -0200)
commit05e8e11e54a38cb9d6ed9c2522b557231197b1bc
tree25a46023e3240694d6467f71335b14703a330fbe
parenta62c490110765542690860776f44628657a86169
lib/zebra: put vrf_get() on a diet

Also, for some reason we had two functions to search a VRF by its name:
zebra_vrf_lookup_by_name() and zebra_vrf_list_lookup_by_name().  The first
one would loop through vrf_table and the other one through vrf_list. This
is not necessary anymore, so remove zebra_vrf_lookup_by_name() and rename
zebra_vrf_list_lookup_by_name() to zebra_vrf_lookup_by_name().

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/vrf.c
lib/vrf.h
zebra/if_netlink.c
zebra/zebra_vrf.c
zebra/zebra_vrf.h
zebra/zebra_vty.c