From: Donatas Abraitis Date: Tue, 12 Apr 2022 19:12:16 +0000 (+0300) Subject: bgpd: Fix styling, drop braces for single statement block X-Git-Tag: pim6-testing-20220430~72^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F11010%2Fhead;p=mirror%2Ffrr.git bgpd: Fix styling, drop braces for single statement block Signed-off-by: Donatas Abraitis --- diff --git a/bgpd/bgp_mpath.c b/bgpd/bgp_mpath.c index 37d2c45215..6cd6ddd9dd 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)