|
@@ -111,6 +111,9 @@ static void tftp_free ( struct refcnt *refcnt ) {
|
111
|
111
|
*/
|
112
|
112
|
static void tftp_done ( struct tftp_request *tftp, int rc ) {
|
113
|
113
|
|
|
114
|
+ DBGC ( tftp, "TFTP %p finished with status %d (%s)\n",
|
|
115
|
+ tftp, rc, strerror ( rc ) );
|
|
116
|
+
|
114
|
117
|
/* Stop the retry timer */
|
115
|
118
|
stop_timer ( &tftp->timer );
|
116
|
119
|
|
|
@@ -188,6 +191,9 @@ static int tftp_send_ack ( struct tftp_request *tftp ) {
|
188
|
191
|
.dest = ( struct sockaddr * ) &tftp->peer,
|
189
|
192
|
};
|
190
|
193
|
|
|
194
|
+ DBGC2 ( tftp, "TFTP %p sending ACK for block %d\n",
|
|
195
|
+ tftp, tftp->state );
|
|
196
|
+
|
191
|
197
|
/* Allocate buffer */
|
192
|
198
|
iobuf = xfer_alloc_iob ( &tftp->socket, sizeof ( *ack ) );
|
193
|
199
|
if ( ! iobuf )
|