david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Use XFER_INIT() macro.

This commit is contained in:
Michael Brown 2008-01-22 18:50:24 +00:00
parent a2b4252d5a
commit 84f99f781e
1 changed files with 1 additions and 7 deletions

View File

@ -111,13 +111,7 @@ static struct xfer_interface_operations pxe_udp_xfer_operations = {
/** The PXE UDP connection */
static struct pxe_udp_connection pxe_udp = {
.xfer = {
.intf = {
.dest = &null_xfer.intf,
.refcnt = NULL,
},
.op = &pxe_udp_xfer_operations,
},
.xfer = XFER_INIT ( &pxe_udp_xfer_operations ),
.local = {
.sin_family = AF_INET,
},