Skip to content

Commit 88a7416

Browse files
committed
nsapi: astyle block fix
1 parent b46aa61 commit 88a7416

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

features/netsocket/nsapi_dns.cpp

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,17 @@ static void nsapi_dns_query_async_socket_callback_handle(NetworkStack *stack);
101101
static void nsapi_dns_query_async_response(void *ptr);
102102
static void nsapi_dns_query_async_initiate_next(void);
103103

104+
// *INDENT-OFF*
104105
static nsapi_addr_t dns_servers[DNS_SERVERS_SIZE] = {
105106
{NSAPI_IPv4, {8, 8, 8, 8}}, // Google
106107
{NSAPI_IPv4, {209, 244, 0, 3}}, // Level 3
107108
{NSAPI_IPv4, {84, 200, 69, 80}}, // DNS.WATCH
108-
{
109-
NSAPI_IPv6, {
110-
0x20, 0x01, 0x48, 0x60, 0x48, 0x60, 0, 0, // Google
111-
0, 0, 0, 0, 0, 0, 0x88, 0x88
112-
}
113-
},
114-
{
115-
NSAPI_IPv6, {
116-
0x20, 0x01, 0x16, 0x08, 0, 0x10, 0, 0x25, // DNS.WATCH
117-
0, 0, 0, 0, 0x1c, 0x04, 0xb1, 0x2f
118-
}
119-
},
109+
{NSAPI_IPv6, {0x20,0x01, 0x48,0x60, 0x48,0x60, 0,0, // Google
110+
0,0, 0,0, 0,0, 0x88,0x88}},
111+
{NSAPI_IPv6, {0x20,0x01, 0x16,0x08, 0,0x10, 0,0x25, // DNS.WATCH
112+
0,0, 0,0, 0x1c,0x04, 0xb1,0x2f}},
120113
};
114+
// *INDENT-ON*
121115

122116
#if (MBED_CONF_NSAPI_DNS_CACHE_SIZE > 0)
123117
static DNS_CACHE *dns_cache[MBED_CONF_NSAPI_DNS_CACHE_SIZE];

0 commit comments

Comments
 (0)