Date: Fri, 10 Mar 2017 17:14:08 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315008 - head/sys/boot/i386/libi386 Message-ID: <201703101714.v2AHE8Lg049736@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703101714.v2AHE8Lg049736>