summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2020-05-05 00:42:48 -0400
committerGitHub <noreply@github.com>2020-05-05 00:42:48 -0400
commite87417f782d562060cd7ea41a32c30d56b17c5ac (patch)
tree391dbb1a5af69a6611175e2ab47315aa57dad34d
parenta832674633449f8280765459cc2b46fee9b29b87 (diff)
parent0a33678aa266a83627b9bfb421b68320f0e2f8de (diff)
Merge pull request #6338 from ton31337/fix/FALSE_TRUE_7.3
bgpd: [7.3] bools use `true/false` not `TRUE/FALSE`
-rw-r--r--bgpd/bgp_route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 494f4923e5..4baaf22440 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -9936,7 +9936,7 @@ static int bgp_show_route_in_table(struct vty *vty, struct bgp *bgp,
}
} else if (safi == SAFI_EVPN) {
struct bgp_node *longest_pfx;
- bool is_exact_pfxlen_match = FALSE;
+ bool is_exact_pfxlen_match = false;
for (rn = bgp_table_top(rib); rn; rn = bgp_route_next(rn)) {
if (prd && memcmp(rn->p.u.val, prd->val, 8) != 0)
@@ -9946,7 +9946,7 @@ static int bgp_show_route_in_table(struct vty *vty, struct bgp *bgp,
continue;
longest_pfx = NULL;
- is_exact_pfxlen_match = FALSE;
+ is_exact_pfxlen_match = false;
/*
* Search through all the prefixes for a match. The
* pfx's are enumerated in ascending order of pfxlens.
@@ -9965,7 +9965,7 @@ static int bgp_show_route_in_table(struct vty *vty, struct bgp *bgp,
int type5_pfxlen =
bgp_evpn_get_type5_prefixlen(&rm->p);
if (type5_pfxlen == match.prefixlen) {
- is_exact_pfxlen_match = TRUE;
+ is_exact_pfxlen_match = true;
bgp_unlock_node(rm);
break;
}