From f9890204b5dbb46940d120a629ca90fbf15c499a Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Sun, 1 Jun 2025 22:28:21 -0700 Subject: [PATCH] install: must set netproto for tftp:// tftp_open requires netproto is NET_TFTP Reviewed by: stevek --- stand/common/install.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stand/common/install.c b/stand/common/install.c index b827b1fe9da2..249eca1648f3 100644 --- a/stand/common/install.c +++ b/stand/common/install.c @@ -212,6 +212,7 @@ install(char *pkgname) if (i == 4 && !strncasecmp(pkgname, "tftp", i)) { devname = "net0"; devnamelen = 4; + netproto = NET_TFTP; proto = &tftp_fsops; } else if (i == 4 && !strncasecmp(pkgname, "file", i)) { currdev = getenv("currdev");