|
@@ -114,7 +114,7 @@ int udp_buf_alloc ( struct udp_connection *conn, size_t len ) {
|
114
|
114
|
* callback. The callback may use the buffer space
|
115
|
115
|
*/
|
116
|
116
|
int udp_senddata ( struct udp_connection *conn ) {
|
117
|
|
- conn->tx_pkb = pkb_alloc ( UDP_MAX_TXPKB );
|
|
117
|
+ conn->tx_pkb = alloc_pkb ( UDP_MAX_TXPKB );
|
118
|
118
|
if ( conn->tx_pkb == NULL ) {
|
119
|
119
|
DBG ( "Error allocating packet buffer of length %d\n",
|
120
|
120
|
UDP_MAX_TXPKB );
|