mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 20:10:18 +03:00
fix gcc 4.2.1 warning: initialized field overwritten
This commit is contained in:
committed by
Michael Brown
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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user