summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2019-04-25 20:19:30 +0000
committernaddy <naddy@openbsd.org>2019-04-25 20:19:30 +0000
commitad424d9832eaf403d55d306462b57935cd98f449 (patch)
tree3d0327a20f7767f406850051028213e080fc4c66 /lib/libc
parentoptions_array_item_value cannot return NULL. (diff)
downloadwireguard-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