r314948 seems to be missing a variable or two that will break

TFTP/MFSRoot booting via PXE.  For the TFTP_LOADER case, go ahead and
fire off the old bootp() request to ensure that whatever is missing is
populated.

Sponsored by:	Limelight Networks
This commit is contained in:
sbruno 2017-03-10 17:14:08 +00:00
parent 266952395d
commit 27effb9314

View File

@ -301,6 +301,9 @@ pxe_open(struct open_file *f, ...)
printf("pxe_open: loaded RFC1048 data from PXE Cache\n");
}
#ifdef LOADER_TFTP_SUPPORT
bootp(pxe_sock, BOOTP_PXE);
#endif
if (rootip.s_addr == 0)
rootip.s_addr = bootplayer.sip;
if (gateip.s_addr == 0)