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:
parent
a2b4252d5a
commit
84f99f781e
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user