http://git.etherboot.org
/
people
/
balajirrao
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2b4252
)
Use XFER_INIT() macro.
author
Michael Brown
<mcb30@etherboot.org>
Tue, 22 Jan 2008 18:50:24 +0000
(18:50 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 22 Jan 2008 18:50:24 +0000
(18:50 +0000)
src/interface/pxe/pxe_udp.c
patch
|
blob
|
history
diff --git
a/src/interface/pxe/pxe_udp.c
b/src/interface/pxe/pxe_udp.c
index
0d6d1b7
..
40c2b2e
100644
(file)
--- a/
src/interface/pxe/pxe_udp.c
+++ b/
src/interface/pxe/pxe_udp.c
@@
-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,
},