Browse Source

Use XFER_INIT() macro.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
84f99f781e
1 changed files with 1 additions and 7 deletions
  1. 1
    7
      src/interface/pxe/pxe_udp.c

+ 1
- 7
src/interface/pxe/pxe_udp.c View File

111
 
111
 
112
 /** The PXE UDP connection */
112
 /** The PXE UDP connection */
113
 static struct pxe_udp_connection pxe_udp = {
113
 static struct pxe_udp_connection pxe_udp = {
114
-	.xfer = {
115
-		.intf = {
116
-			.dest = &null_xfer.intf,
117
-			.refcnt = NULL,
118
-		},
119
-		.op = &pxe_udp_xfer_operations,
120
-	},
114
+	.xfer = XFER_INIT ( &pxe_udp_xfer_operations ),
121
 	.local = {
115
 	.local = {
122
 		.sin_family = AF_INET,
116
 		.sin_family = AF_INET,
123
 	},
117
 	},

Loading…
Cancel
Save