aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/net/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/net/udp.c')
-rw-r--r--gpxe/src/net/udp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpxe/src/net/udp.c b/gpxe/src/net/udp.c
index c3a1eba3..771655e0 100644
--- a/gpxe/src/net/udp.c
+++ b/gpxe/src/net/udp.c
@@ -16,6 +16,8 @@
* UDP protocol
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* A UDP connection
*
@@ -238,7 +240,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 ) {