summaryrefslogtreecommitdiff
path: root/sharpd/sharp_zebra.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@nvidia.com>2022-12-09 18:49:54 -0500
committerStephen Worley <sworley@nvidia.com>2023-02-13 18:12:05 -0500
commit5b59f4a16ce39ed11024cdc9622a7fae20ddffaf (patch)
tree956b8396a132f89e27bc055cdc1fe8baf7e221f1 /sharpd/sharp_zebra.c
parentd9ea9e7a1c8ca7a457b75bc572524652d78fc1fc (diff)
sharpd: clang-format style fix
clang-format style fix Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to 'sharpd/sharp_zebra.c')
-rw-r--r--sharpd/sharp_zebra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c
index 0da4804231..fcea484b34 100644
--- a/sharpd/sharp_zebra.c
+++ b/sharpd/sharp_zebra.c
@@ -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];