Up to [local] / src / usr.bin / tftp
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_0_BASE
Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 26 09:10:03 2006 UTC (17 years, 10 months ago) by mglocker
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)
Fixing several timeout quirks at tftpd and tftp: - move TIMEOUT* defines to arpa/tftp.h, as they are used several times in tftpd and tftp, and the values are part of the RFC definition. - tftpd and tftp did count the total retransmission time in retries instead in seconds. fixed. - tftpd rexmt timeout was hardcoded by a define and therefore didn't changed when the timeout option was sent. fixed. - limit total retransmission timeout in tftp to also 255 seconds. - replace obvious atoi()'s by strtonum(). ok claudio@