]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_gr.c
zebra: Rearrange zebra_gr zapi functions
authorDonald Sharp <sharpd@nvidia.com>
Fri, 24 Mar 2023 19:58:41 +0000 (15:58 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 29 Mar 2023 19:40:56 +0000 (15:40 -0400)
commit9c1c21da8a76c39e5af973d0752b75098529b1cd
tree7b9e5863288f2be4f45e1f1ed2a97b020ee7f5eb
parent0f5ef7f9b197f0a9fec86ec15885e06e843fd539
zebra: Rearrange zebra_gr zapi functions

The zebra_gr code had 3 functions when effectively only
1 was needed.  Cleans up some code weirdness around
multiple switch statements for the same api->cap
as well as consolidating down to only caring about
SAFI_UNICAST, since that is all we care about at the
moment.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_gr.c