summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tftp/tftp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/tftp/tftp.c b/usr.bin/tftp/tftp.c
index 4deee1b..c7c2c7e0 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
OpenPOWER on IntegriCloud