]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_addpath.c
bgpd, lib, staticd, tests: Convert to using FOREACH_AFI_SAFI
authorDonald Sharp <sharpd@nvidia.com>
Sat, 14 Nov 2020 23:50:37 +0000 (18:50 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 14 Nov 2020 23:53:03 +0000 (18:53 -0500)
commitf18ba3cd18210fceac80fc1bf21fcb116d4d4397
tree7ec928e01f625f4114d3c522e6168b9518e8302f
parent3d1c148b07c7c81e98fd3059100bd84ba92c4546
bgpd, lib, staticd, tests: Convert to using FOREACH_AFI_SAFI

Move the FOREACH_AFI_SAFI macro from bgpd.h to zebra.h( GLOBAL's YOUALL )

Then convert all the places that have the two level for loop to
iterate over all afi/safis

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_addpath.c
bgpd/bgp_packet.c
bgpd/bgpd.h
lib/zebra.h
staticd/static_routes.c
staticd/static_vrf.c
tests/bgpd/test_mpath.c