mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
Reset errno so that subsequent TFTP requests don't fail after the
first failure. PR: misc/25502 MFC after: 2 weeks
This commit is contained in:
parent
189c7da2ec
commit
646bd49ed1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79034
@ -117,6 +117,8 @@ recvtftp(d, pkt, len, tleft)
|
||||
{
|
||||
struct tftphdr *t;
|
||||
|
||||
errno = 0;
|
||||
|
||||
len = readudp(d, pkt, len, tleft);
|
||||
|
||||
if (len < 4)
|
||||
|
Loading…
Reference in New Issue
Block a user