diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-05-21 20:44:10 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-05-21 20:44:10 +0000 |
commit | bd85af7cc9584e6f7dd4d9eeca65328622d9bb73 (patch) | |
tree | 4a61bf6ed740887ae5e9ad8b413dbf2068a9e74a /net/frr7 | |
parent | [NEW] net/gscloud: Official CLI to use gridscale's API, written in Go (diff) |
Fix build with json-c 0.14
Notes
Notes:
svn path=/head/; revision=536150
Diffstat (limited to 'net/frr7')
-rw-r--r-- | net/frr7/files/patch-bgpd_bgp__route.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net/frr7/files/patch-bgpd_bgp__route.c b/net/frr7/files/patch-bgpd_bgp__route.c new file mode 100644 index 000000000000..4373a06657d7 --- /dev/null +++ b/net/frr7/files/patch-bgpd_bgp__route.c @@ -0,0 +1,29 @@ +--- bgpd/bgp_route.c.orig 2020-02-14 14:03:09 UTC ++++ bgpd/bgp_route.c +@@ -9922,7 +9922,7 @@ static int bgp_show_route_in_table(struct vty *vty, st + } + } 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) +@@ -9932,7 +9932,7 @@ static int bgp_show_route_in_table(struct vty *vty, st + 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. +@@ -9951,7 +9951,7 @@ static int bgp_show_route_in_table(struct vty *vty, st + 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; + } |