diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-12 21:12:16 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-04-12 21:12:16 +0200 |
commit | 26870e2dcc45c29df5997bf5c610d0c0cd013dc6 (patch) | |
tree | 884583ba1e5a98d8d2bc77e69b808c906a8c1626 | |
parent | bgpd: Reuse bgp_attr_set_ecommunity() for setting attribute flags (diff) | |
download | frr-26870e2dcc45c29df5997bf5c610d0c0cd013dc6.tar.xz frr-26870e2dcc45c29df5997bf5c610d0c0cd013dc6.zip |
bgpd: Fix styling, drop braces for single statement block
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
-rw-r--r-- | bgpd/bgp_mpath.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgp_mpath.c b/bgpd/bgp_mpath.c index 37d2c4521..6cd6ddd9d 100644 --- a/bgpd/bgp_mpath.c +++ b/bgpd/bgp_mpath.c @@ -905,9 +905,8 @@ void bgp_path_info_mpath_aggregate_update(struct bgp_path_info *new_best, attr.aspath = aspath; attr.origin = origin; - if (community) { + if (community) bgp_attr_set_community(&attr, community); - } if (ecomm) bgp_attr_set_ecommunity(&attr, ecomm); if (lcomm) |