]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Make bgp ready to remove distinction between 2 nh tracking types
authorDonald Sharp <sharpd@nvidia.com>
Fri, 24 Sep 2021 14:10:31 +0000 (10:10 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 27 Sep 2021 16:38:08 +0000 (12:38 -0400)
commitb8210849b8ac1abe2d5d9a5ab2459abfde65efa5
tree21578742ab61cca8751ef0a1e9b6cd2446dc1a91
parented6cec97d7f2c5abbc5a2ef2f087a614c54ddcb1
bgpd: Make bgp ready to remove distinction between 2 nh tracking types

Allow bgp to figure out if it cares about address resolution instead
of having zebra care about it.  This will allow the removal of the
zapi type for import checking and just use nexthop resolution.

Effectively we just look up the route being returned and
if it is in either table we just handle it instead of
looking for clues from the zapi message type.

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