diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-07-26 09:10:04 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-07-26 09:10:04 +0000 |
commit | 04acdec08de4742e5f76c09ebb6db4bc0990046b (patch) | |
tree | 2b837323f12d00b831d95f3b510d141dd4dcfca8 /usr.bin/systat | |
parent | 3667d73033cf93032bbbafed056c205a4eea65db (diff) |
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@
Diffstat (limited to 'usr.bin/systat')
0 files changed, 0 insertions, 0 deletions