aboutsummaryrefslogtreecommitdiff
path: root/sntp/tests/utilities.c
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/tests/utilities.c')
-rw-r--r--sntp/tests/utilities.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sntp/tests/utilities.c b/sntp/tests/utilities.c
index 39d22d61bdca..a68aaacae9ae 100644
--- a/sntp/tests/utilities.c
+++ b/sntp/tests/utilities.c
@@ -96,12 +96,12 @@ test_IPv4Address(void) {
void
test_IPv6Address(void) {
- const struct in6_addr address = {
+ const struct in6_addr address = { { {
0x20, 0x01, 0x0d, 0xb8,
0x85, 0xa3, 0x08, 0xd3,
0x13, 0x19, 0x8a, 0x2e,
0x03, 0x70, 0x73, 0x34
- };
+ } } };
const char * expected = "2001:db8:85a3:8d3:1319:8a2e:370:7334";
sockaddr_u input;
struct addrinfo inputA;