diff options
author | Michael Brown <mcb30@etherboot.org> | 2009-03-10 17:50:01 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2009-03-26 07:27:19 +0000 |
commit | 1c67623e37dada045e9b5d1f5e19b414cc79c3e3 (patch) | |
tree | 6baaac3371a85232dbfe0faa5e7530eb76fa7413 /src/net/udp.c | |
parent | 16aa435567ad6a82669864ba9c47ee534a03c296 (diff) | |
download | ipxe-1c67623e37dada045e9b5d1f5e19b414cc79c3e3.zip ipxe-1c67623e37dada045e9b5d1f5e19b414cc79c3e3.tar.gz ipxe-1c67623e37dada045e9b5d1f5e19b414cc79c3e3.tar.bz2 |
[build] Enable building with the Intel C compiler (icc)
Diffstat (limited to 'src/net/udp.c')
-rw-r--r-- | src/net/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/udp.c b/src/net/udp.c index c3a1eba..1b83518 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -238,7 +238,7 @@ static int udp_tx ( struct udp_connection *udp, struct io_buffer *iobuf, * @ret udp UDP connection, or NULL */ static struct udp_connection * udp_demux ( struct sockaddr_tcpip *local ) { - static const struct sockaddr_tcpip empty_sockaddr; + static const struct sockaddr_tcpip empty_sockaddr = { .pad = { 0, } }; struct udp_connection *udp; list_for_each_entry ( udp, &udp_conns, list ) { |