]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_nexthop.c
bgpd: bgp_nexthop_self optimize afi and new_afi handling
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 6 Feb 2020 02:21:56 +0000 (21:21 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 6 Feb 2020 12:24:53 +0000 (07:24 -0500)
commitaf34d2da11139cab5ffea89d264eedb79495c2fd
tree8f09fd072b6734c0093c326991629bace4661769
parent2ec802d173ede4211d7f2b40b80bb36569c60504
bgpd: bgp_nexthop_self optimize afi and new_afi handling

The new_afi and afi were being used over and over.  Switch
to the end result we want and just use that from the get go.

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