diff options
author | Toomas Soome <tsoome@me.com> | 2016-11-09 12:26:44 +0200 |
---|---|---|
committer | Dan McDonald <danmcd@omniti.com> | 2016-12-21 15:37:26 -0500 |
commit | aa61755ec0c079ce801724a2c40b69deaa46822b (patch) | |
tree | d9b953648879ac4aa95fa18f4b6ab43404a7e7cb /usr/src/boot/lib/libstand/bootp.c | |
parent | 0c94e1af6784c69a1dea25e0e35dd13b2b91e2e5 (diff) | |
download | illumos-joyent-aa61755ec0c079ce801724a2c40b69deaa46822b.tar.gz |
7567 Netboot: allow both tftpfs and nfs in both pxeboot and loader.efi
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Adam Števko <adam.stevko@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/boot/lib/libstand/bootp.c')
-rw-r--r-- | usr/src/boot/lib/libstand/bootp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/boot/lib/libstand/bootp.c b/usr/src/boot/lib/libstand/bootp.c index 7f9e62e76e..626ff8c952 100644 --- a/usr/src/boot/lib/libstand/bootp.c +++ b/usr/src/boot/lib/libstand/bootp.c @@ -419,6 +419,10 @@ vend_rfc1048(u_char *cp, u_int len) bcopy(cp, &dhcp_serverip.s_addr, sizeof(dhcp_serverip.s_addr)); } + if (tag == TAG_TFTP_SERVER) { + bcopy(cp, &tftpip.s_addr, + sizeof(tftpip.s_addr)); + } #endif cp += size; } |