summaryrefslogtreecommitdiffstats
path: root/src/net/ipv6.c
diff options
context:
space:
mode:
authorHolger Lubitz2007-07-31 18:42:36 +0200
committerMichael Brown2007-08-02 02:56:50 +0200
commitfdd5fbe3ae47f8003df85da1dc128d78722dbbec (patch)
tree001eefb05e9a186e574bf106f4bef885ccb986d5 /src/net/ipv6.c
parentinclude more changes for x86_64 (diff)
downloadipxe-fdd5fbe3ae47f8003df85da1dc128d78722dbbec.tar.gz
ipxe-fdd5fbe3ae47f8003df85da1dc128d78722dbbec.tar.xz
ipxe-fdd5fbe3ae47f8003df85da1dc128d78722dbbec.zip
fix gcc 4.2.1 warning: initialized field overwritten
Diffstat (limited to 'src/net/ipv6.c')
-rw-r--r--src/net/ipv6.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/ipv6.c b/src/net/ipv6.c
index 3b7429b8..a91cb069 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
@@ -19,10 +19,7 @@ struct net_protocol ipv6_protocol;
/* Unspecified IP6 address */
static struct in6_addr ip6_none = {
- .in6_u.u6_addr32[0] = 0,
- .in6_u.u6_addr32[1] = 0,
- .in6_u.u6_addr32[2] = 0,
- .in6_u.u6_addr32[3] = 0,
+ .in6_u.u6_addr32 = { 0,0,0,0 }
};
/** An IPv6 routing table entry */