From: Joseph C. Lehner Date: Thu, 5 Sep 2019 13:25:57 +0000 (+0200) Subject: Revert "Hopefully fix TFTP rollover hack" X-Git-Tag: v0.9.14~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=68fb396869242f4e3d539d3b39b34604da70950f;p=oweals%2Fnmrpflash.git Revert "Hopefully fix TFTP rollover hack" This reverts commit 1724f8b4c02b08190eed1e5c4bc0f52c580c5f99. --- diff --git a/tftp.c b/tftp.c index ad24057..1e0dd73 100644 --- 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;