bgpd: Fix styling, drop braces for single statement block

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2022-04-12 22:12:16 +03:00
parent 58cf5c088a
commit 26870e2dcc

View File

@ -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)