david/ipxe
Archived
1
0

A small but very critical bug.

This commit is contained in:
Michael Brown 2006-07-19 20:16:46 +00:00
parent 82f3295794
commit 7c84b74185

View File

@ -103,7 +103,7 @@ int udp_senddata ( struct udp_connection *conn ) {
return -ENOMEM;
}
pkb_reserve ( conn->tx_pkb, UDP_MAX_HLEN );
conn->udp_op->senddata ( conn, conn->tx_pkb,
conn->udp_op->senddata ( conn, conn->tx_pkb->data,
pkb_available ( conn->tx_pkb ) );
return 0;
}