2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-25 19:08:35 +00:00

Use XFER_INIT() macro.

This commit is contained in:
Michael Brown 2008-01-22 18:50:24 +00:00
parent a2b4252d5a
commit 84f99f781e

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,
},