diff options
| author | Michael Brown | 2006-07-19 22:16:46 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-07-19 22:16:46 +0200 |
| commit | 7c84b74185d1df0be428099faf19e0b9b74abaa7 (patch) | |
| tree | 5b2c9e477f73c706651b8099ca5dc5e61fe5fb7c /src | |
| parent | Use more standardised format specifiers in debug messages (e.g. %p for (diff) | |
| download | ipxe-7c84b74185d1df0be428099faf19e0b9b74abaa7.tar.gz ipxe-7c84b74185d1df0be428099faf19e0b9b74abaa7.tar.xz ipxe-7c84b74185d1df0be428099faf19e0b9b74abaa7.zip | |
A small but very critical bug.
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/udp.c b/src/net/udp.c index 91a9e9fa8..95ca87d5b 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -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; } |
