diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-08-03 17:43:01 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-08-03 17:43:01 +0200 |
commit | 42c9383767f1f7054c6ba6ee5e6aad5f4f8254e5 (patch) | |
tree | e4b11d49c9a9dff77ac50ccf0c4079e51c11e4de /bgpd/bgp_route.h | |
parent | Merge pull request #11731 from opensourcerouting/feature/show_bgp_access-list (diff) | |
download | frr-42c9383767f1f7054c6ba6ee5e6aad5f4f8254e5.tar.xz frr-42c9383767f1f7054c6ba6ee5e6aad5f4f8254e5.zip |
bgpd: bgp_best_path_select_defer never returns negative
Just drop the test and convert to void.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r-- | bgpd/bgp_route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h index 6e8ef746a..8072b83b4 100644 --- a/bgpd/bgp_route.h +++ b/bgpd/bgp_route.h @@ -828,7 +828,7 @@ extern int bgp_show_table_rd(struct vty *vty, struct bgp *bgp, safi_t safi, struct bgp_table *table, struct prefix_rd *prd, enum bgp_show_type type, void *output_arg, bool use_json); -extern int bgp_best_path_select_defer(struct bgp *bgp, afi_t afi, safi_t safi); +extern void bgp_best_path_select_defer(struct bgp *bgp, afi_t afi, safi_t safi); extern bool bgp_update_martian_nexthop(struct bgp *bgp, afi_t afi, safi_t safi, uint8_t type, uint8_t stype, struct attr *attr, struct bgp_dest *dest); |