Merge pull request #7675 from donaldsharp/bgp_nh

bgpd: Let's actually track if the nh was updated
This commit is contained in:
Mark Stapp 2020-12-04 15:36:27 -05:00 committed by GitHub
commit f017e7312e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1176,7 +1176,7 @@ void bgp_zebra_announce(struct bgp_dest *dest, const struct prefix *p,
int nh_othervrf = 0;
char buf_prefix[PREFIX_STRLEN]; /* filled in if we are debugging */
bool is_evpn;
int nh_updated;
bool nh_updated = false;
bool do_wt_ecmp;
uint64_t cum_bw = 0;
uint32_t nhg_id = 0;