summaryrefslogtreecommitdiff
path: root/zebra/rt_netlink.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@nvidia.com>2022-12-09 18:51:22 -0500
committerStephen Worley <sworley@nvidia.com>2023-02-13 18:12:05 -0500
commit0bbad9d19aef7882bbf962560579db5fc446b0ab (patch)
tree1f91e5b79403422927039b6ec2fb3086c0816f5c /zebra/rt_netlink.c
parent5b59f4a16ce39ed11024cdc9622a7fae20ddffaf (diff)
zebra: clang-format style fixes
clang-format style fixes Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to 'zebra/rt_netlink.c')
-rw-r--r--zebra/rt_netlink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c
index a7b462a2e2..7895c3226e 100644
--- a/zebra/rt_netlink.c
+++ b/zebra/rt_netlink.c
@@ -1333,8 +1333,8 @@ static int build_label_stack(struct mpls_label_stack *nh_label,
int num_labels = 0;
for (int i = 0; nh_label && i < nh_label->num_labels; i++) {
- if (nh_label_type != ZEBRA_LSP_EVPN
- && nh_label->label[i] == MPLS_LABEL_IMPLICIT_NULL)
+ if (nh_label_type != ZEBRA_LSP_EVPN &&
+ nh_label->label[i] == MPLS_LABEL_IMPLICIT_NULL)
continue;
if (IS_ZEBRA_DEBUG_KERNEL) {
@@ -3927,7 +3927,7 @@ int netlink_macfdb_read_mcast_for_vni(struct zebra_ns *zns,
struct interface *ifp, vni_t vni)
{
struct zebra_if *zif;
- struct ethaddr mac = { .octet = {0} };
+ struct ethaddr mac = {.octet = {0}};
struct zebra_dplane_info dp_info;
int ret = 0;