]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: tftp: Don't error on tftp error 0
authorEmmanuel Vadot <manu@FreeBSD.org>
Wed, 8 Dec 2021 15:18:49 +0000 (16:18 +0100)
committerEmmanuel Vadot <manu@FreeBSD.org>
Thu, 16 Dec 2021 10:50:29 +0000 (11:50 +0100)
commitbf07f2f8623d5e29e814b9dc49a0cdff920778c3
tree49cc9ce1cf306cc72e69dbc0c071fc4b0ea8131e
parentb214fcceacad6b842545150664bd2695c1c2b34f
loader: tftp: Don't error on tftp error 0

tftp-hpa sends NAK with tftp error set to 0 when trying to get
a directory and this is the first thing that loader tries to do
and this make it hangs.

Reviewed by: imp, tsoome
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D33406
stand/libsa/tftp.c