about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/netinet/in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/netinet/in.h b/inet/netinet/in.h
index fc8f169bcf..10dae19d34 100644
--- a/inet/netinet/in.h
+++ b/inet/netinet/in.h
@@ -177,8 +177,8 @@ struct in6_addr
 
 extern const struct in6_addr in6addr_any;        /* :: */
 extern const struct in6_addr in6addr_loopback;   /* ::1 */
-#define IN6ADDR_ANY_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
-#define IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }
+#define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
+#define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
 
 #define INET_ADDRSTRLEN 16
 #define INET6_ADDRSTRLEN 46