Skip to content

Commit 6273d43

Browse files
committed
Automatic format commit
1 parent a5a2b97 commit 6273d43

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

port/linux/ipadapter.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -1118,8 +1118,9 @@ oc_send_discovery_request(oc_message_t *message)
11181118
struct sockaddr_in6 *addr = (struct sockaddr_in6 *)iface->ifa_addr;
11191119
// check for Thread mesh local prefix
11201120
memcpy(&message->endpoint.addr_local.ipv6.address, &addr->sin6_addr, 16);
1121-
uint8_t* epaddr = message->endpoint.addr_local.ipv6.address;
1122-
uint8_t thread_prefix[8] = {0xfd, 0xde, 0xad, 0x00, 0xbe, 0xef, 0x00, 0x00};
1121+
uint8_t *epaddr = message->endpoint.addr_local.ipv6.address;
1122+
uint8_t thread_prefix[8] = { 0xfd, 0xde, 0xad, 0x00,
1123+
0xbe, 0xef, 0x00, 0x00 };
11231124
bool is_thread_mesh = memcmp(epaddr, thread_prefix, 8) == 0;
11241125
if (is_thread_mesh)
11251126
continue;

0 commit comments

Comments
 (0)