projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed27079
)
Revert "Hopefully fix TFTP rollover hack"
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Thu, 5 Sep 2019 13:25:57 +0000
(15:25 +0200)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Thu, 5 Sep 2019 13:25:57 +0000
(15:25 +0200)
This reverts commit
1724f8b4c02b08190eed1e5c4bc0f52c580c5f99
.
tftp.c
patch
|
blob
|
history
diff --git
a/tftp.c
b/tftp.c
index ad24057d783a737b3d213c71a1d33b8cb109066f..1e0dd736801769e2716dee164161ea396f2d5dce 100644
(file)
--- a/
tftp.c
+++ b/
tftp.c
@@
-439,13
+439,9
@@
int tftp_put(struct nmrpd_args *args)
* block #65535 - reported working on a Netgear D7000.
*/
block = UINT16_MAX;
- pkt_mknum(tx + 2, block);
freeze_block = true;
errors = 0;
printf("Transmitting rest of file as block %d.\n", block);
- /* this forces transmission of the modified packet */
- timeouts = 1;
- continue;
} else {
fprintf(stderr, "Protocol error; bailing out.\n");
ret = -1;