]> git.proxmox.com Git - mirror_frr.git/commitdiff
sharpd: clang-format style fix
authorStephen Worley <sworley@nvidia.com>
Fri, 9 Dec 2022 23:49:54 +0000 (18:49 -0500)
committerStephen Worley <sworley@nvidia.com>
Mon, 13 Feb 2023 23:12:05 +0000 (18:12 -0500)
clang-format style fix

Signed-off-by: Stephen Worley <sworley@nvidia.com>
sharpd/sharp_zebra.c

index 0da4804231518d170540ad9182642be8c95781aa..fcea484b34873ddfe008b5efdba5c7009bd82780 100644 (file)
@@ -272,8 +272,8 @@ static bool route_add(const struct prefix *p, vrf_id_t vrf_id, uint8_t instance,
        } else {
                for (ALL_NEXTHOPS_PTR(nhg, nh)) {
                        /* Check if we set a VNI label */
-                       if (nh->nh_label
-                           && (nh->nh_label_type == ZEBRA_LSP_EVPN))
+                       if (nh->nh_label &&
+                           (nh->nh_label_type == ZEBRA_LSP_EVPN))
                                SET_FLAG(api.flags, ZEBRA_FLAG_EVPN_ROUTE);
 
                        api_nh = &api.nexthops[i];