Skip to content

Commit

Permalink
Fix CLANG format issue
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep N <[email protected]>
  • Loading branch information
n-sandeep committed Jan 12, 2024
1 parent fde83bc commit a175dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion switchlink/switchlink_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static switchlink_handle_t process_ecmp(uint8_t family, struct nlattr* attr,
gateway.ip.v4addr.s_addr = ntohl(*((uint32_t*)RTA_DATA(rta)));
gateway.prefix_len = 32;
} else {
memcpy(&(gateway.ip.v6addr), (struct in6_addr *) RTA_DATA(rta),
memcpy(&(gateway.ip.v6addr), (struct in6_addr*)RTA_DATA(rta),
sizeof(struct in6_addr));
gateway.prefix_len = 128;
}
Expand Down

0 comments on commit a175dd5

Please sign in to comment.