summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_routemap.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-07-01 19:26:05 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-07-01 19:26:05 +0200
commit2951a7a4c2abb30838eab9d734b842b6f4f8c104 (patch)
tree55a33ac7ca2f9d13e3d5f099d265020e096203c8 /bgpd/bgp_routemap.c
parentMerge pull request #4575 from nitinsoniism/show_mac_arp_cache_vni_json_fix (diff)
downloadfrr-2951a7a4c2abb30838eab9d734b842b6f4f8c104.tar.xz
frr-2951a7a4c2abb30838eab9d734b842b6f4f8c104.zip
*: s/TRUE/true/, s/FALSE/false/
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_routemap.c')
-rw-r--r--bgpd/bgp_routemap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c
index a212523b1..e43f9486f 100644
--- a/bgpd/bgp_routemap.c
+++ b/bgpd/bgp_routemap.c
@@ -2695,11 +2695,11 @@ route_set_ipv6_nexthop_prefer_global(void *rule, const struct prefix *prefix,
&& peer->su_remote
&& sockunion_family(peer->su_remote) == AF_INET6) {
/* Set next hop preference to global */
- path->attr->mp_nexthop_prefer_global = TRUE;
+ path->attr->mp_nexthop_prefer_global = true;
SET_FLAG(path->attr->rmap_change_flags,
BATTR_RMAP_IPV6_PREFER_GLOBAL_CHANGED);
} else {
- path->attr->mp_nexthop_prefer_global = FALSE;
+ path->attr->mp_nexthop_prefer_global = false;
SET_FLAG(path->attr->rmap_change_flags,
BATTR_RMAP_IPV6_PREFER_GLOBAL_CHANGED);
}