]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Remove awful test of strmatch + get_afi_safi_str
authorDonald Sharp <sharpd@nvidia.com>
Thu, 17 Dec 2020 21:49:20 +0000 (16:49 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 17 Dec 2020 21:49:20 +0000 (16:49 -0500)
commitd6bbfefe145edbfff42732e9f4f3bdf6653cb4b8
tree81acfc8e4e788a62ec7b38744c51b44b7b950188
parent3742de8d6845814fa5713f359acb0971caf32295
bgpd: Remove awful test of strmatch + get_afi_safi_str

Remove awful test of a strmatch against a call to get_afi_safi_str.
These are the easy ones as that the real decision point is/was
underneath this test.  This is just duplicate expensive testing.

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