diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-04-13 12:17:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-13 12:17:19 -0400 |
| commit | f9dfa64797e910c1229ad87e1116436c2836f59c (patch) | |
| tree | 62d3fd96cff8882417e2a5130a7cd36acc1e7d78 | |
| parent | a55fc28786f2b7a1ef599ce710e121988bec1a4c (diff) | |
| parent | cded3b7232daad9abf6888068c38ebb82a95b47a (diff) | |
Merge pull request #6209 from donaldsharp/true_false
bgpd: bools use `true/false` not `TRUE/FALSE`
| -rw-r--r-- | bgpd/bgp_route.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index b90abd8741..007f53907f 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -10284,7 +10284,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)) { const struct prefix *rn_p = bgp_node_get_prefix(rn); @@ -10296,7 +10296,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. @@ -10318,7 +10318,7 @@ static int bgp_show_route_in_table(struct vty *vty, struct bgp *bgp, 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; } |
