mirror of https://github.com/ipxe/ipxe.git
fix gcc 4.2.1 warning: initialized field overwritten
parent
91a8ae1216
commit
fdd5fbe3ae
|
@ -19,10 +19,7 @@ struct net_protocol ipv6_protocol;
|
||||||
|
|
||||||
/* Unspecified IP6 address */
|
/* Unspecified IP6 address */
|
||||||
static struct in6_addr ip6_none = {
|
static struct in6_addr ip6_none = {
|
||||||
.in6_u.u6_addr32[0] = 0,
|
.in6_u.u6_addr32 = { 0,0,0,0 }
|
||||||
.in6_u.u6_addr32[1] = 0,
|
|
||||||
.in6_u.u6_addr32[2] = 0,
|
|
||||||
.in6_u.u6_addr32[3] = 0,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** An IPv6 routing table entry */
|
/** An IPv6 routing table entry */
|
||||||
|
|
Loading…
Reference in New Issue