Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

TFTP no-response bug fix

Incoming tftp client packets won't receive a server response due to a bug in FreeBSD tftp_server.c:tftpd_server() if tftpd_server()'s initial call to socket() returns a valid socket id of 0.

Fix involves a few changes to set "server->s[] socket entries to ignore" to use -1 rather than 0.
No RepliesBe the first to reply