mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
install: must set netproto for tftp://
tftp_open requires netproto is NET_TFTP Reviewed by: stevek
This commit is contained in:
1 parent
2e113ef824
commit
f9890204b5
1 file changed
+1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user