Merge pull request #14049 from opensourcerouting/fix/initialize_some_bools

bgpd: Initialize bgp_nht_ifp_table_handle() bools
This commit is contained in:
mobash-rasool 2023-07-19 17:11:24 +05:30 committed by GitHub
commit 5856033777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -719,8 +719,8 @@ static void bgp_nht_ifp_table_handle(struct bgp *bgp,
struct bgp_nexthop_cache *bnc;
struct nexthop *nhop;
uint8_t other_nh_count;
bool nhop_ll_found;
bool nhop_found;
bool nhop_ll_found = false;
bool nhop_found = false;
if (ifp->ifindex == IFINDEX_INTERNAL) {
zlog_warn("%s: The interface %s ignored", __func__, ifp->name);