diff options
author | 2019-04-25 20:19:30 +0000 | |
---|---|---|
committer | 2019-04-25 20:19:30 +0000 | |
commit | ad424d9832eaf403d55d306462b57935cd98f449 (patch) | |
tree | 3d0327a20f7767f406850051028213e080fc4c66 /lib/libc | |
parent | options_array_item_value cannot return NULL. (diff) | |
download | wireguard-openbsd-ad424d9832eaf403d55d306462b57935cd98f449.tar.xz wireguard-openbsd-ad424d9832eaf403d55d306462b57935cd98f449.zip |
Add a check to tftp_open() that we are actually opening a TFTP device.
When reading a file from a non-TFTP device, clear the bootmac variable
to prevent the kernel from going into netboot mode.
This allows loading a kernel from a disk device after having booted
efiboot from PXE.
style tweak and ok kettenis@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions