summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-12-04 15:36:27 -0500
committerGitHub <noreply@github.com>2020-12-04 15:36:27 -0500
commitf017e7312e8f4efb6ab1ba9f951cd5ba3088cbec (patch)
tree3208043de9a5fa6f1716111dcfe43a58fb86e648
parentf1df19a84166052e611500cf45b50fc41efc783b (diff)
parent06f16b2c253ff9d71db498e3a93a0d620434496c (diff)
Merge pull request #7675 from donaldsharp/bgp_nh
bgpd: Let's actually track if the nh was updated
-rw-r--r--bgpd/bgp_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c
index 12bc2e41bc..8d07e050f8 100644
--- a/bgpd/bgp_zebra.c
+++ b/bgpd/bgp_zebra.c
@@ -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;