diff options
| author | mobash-rasool <mrasool@vmware.com> | 2023-07-19 17:11:24 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-19 17:11:24 +0530 |
| commit | 58560337776556c1a2d8ed3578f6b51e4621fe22 (patch) | |
| tree | 06757c54fd47b96800ea0a68fe57def7f0eccc02 | |
| parent | 3031b32ba86c55ab8131ebf95c58c3aa8823639e (diff) | |
| parent | 721eba0047ff4c25a05034b66008d67931bd5650 (diff) | |
Merge pull request #14049 from opensourcerouting/fix/initialize_some_bools
bgpd: Initialize bgp_nht_ifp_table_handle() bools
| -rw-r--r-- | bgpd/bgp_nht.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_nht.c b/bgpd/bgp_nht.c index ba95df7d17..02cfd9c2af 100644 --- a/bgpd/bgp_nht.c +++ b/bgpd/bgp_nht.c @@ -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); |
