diff --git a/usr.bin/tftp/tftp.c b/usr.bin/tftp/tftp.c index 4deee1b6960..c7c2c7e0fdf 100644 --- a/usr.bin/tftp/tftp.c +++ b/usr.bin/tftp/tftp.c @@ -205,6 +205,7 @@ abort: stopclock(); if (amount > 0) printstats("Sent", amount); + txrx_error = 1; } /* @@ -330,6 +331,7 @@ abort: /* ok to ack, since user */ stopclock(); if (amount > 0) printstats("Received", amount); + txrx_error = 1; } static int