install: must set netproto for tftp://

tftp_open requires netproto is NET_TFTP

Reviewed by:	stevek
This commit is contained in:
Simon J. Gerraty
2025-06-01 22:28:21 -07:00
parent 2e113ef824
commit f9890204b5
+1
View File
@@ -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");