aboutsummaryrefslogtreecommitdiff
path: root/src/net/udp.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-03-10 17:50:01 +0000
committerMichael Brown <mcb30@etherboot.org>2009-03-26 07:27:19 +0000
commit1c67623e37dada045e9b5d1f5e19b414cc79c3e3 (patch)
tree6baaac3371a85232dbfe0faa5e7530eb76fa7413 /src/net/udp.c
parent16aa435567ad6a82669864ba9c47ee534a03c296 (diff)
downloadipxe-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.c2
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 ) {