A small but very critical bug.
authorMichael Brown <mcb30@etherboot.org>
Wed, 19 Jul 2006 20:16:46 +0000 (20:16 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 19 Jul 2006 20:16:46 +0000 (20:16 +0000)
src/net/udp.c

index 91a9e9f..95ca87d 100644 (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;
 }