Author: sbruno Date: Fri Mar 10 17:14:08 2017 New Revision: 315008 URL: https://svnweb.freebsd.org/changeset/base/315008
Log: 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 Modified: head/sys/boot/i386/libi386/pxe.c Modified: head/sys/boot/i386/libi386/pxe.c ============================================================================== --- head/sys/boot/i386/libi386/pxe.c Fri Mar 10 16:12:16 2017 (r315007) +++ head/sys/boot/i386/libi386/pxe.c Fri Mar 10 17:14:08 2017 (r315008) @@ -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) _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"