aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/yacc
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2025-08-20 22:45:54 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2025-08-20 22:45:54 +0000
commitb44cc1b479fefc8570611309c3f5a6966fb26e3b (patch)
tree9671275d5531456f0041f17bfdcb7f876b190d15 /usr.bin/yacc
parentaaf65a13c06a2555257a75b7f2fe63319238cf4f (diff)
loader: do not try to open directories with TFTPHEADmain
Attempting to mount or even open / with some tftp servers causes a several minute delay in boot. Since opening a directory via TFTP does not make sense, we avoid it. We don't know if using TFTP until after net_open() has been called. Add an is_tftp() accessor to avoid everyone having to include all the net* headers. Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D51447
Diffstat (limited to 'usr.bin/yacc')
0 files changed, 0 insertions, 0 deletions