Date: Mon, 2 Jun 2025 05:29:38 GMT From: "Simon J. Gerraty" <sjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f9890204b5db - main - install: must set netproto for tftp:// Message-ID: <202506020529.5525Tcce017208@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sjg: URL: https://cgit.FreeBSD.org/src/commit/?id=f9890204b5dbb46940d120a629ca90fbf15c499a commit f9890204b5dbb46940d120a629ca90fbf15c499a Author: Simon J. Gerraty <sjg@FreeBSD.org> AuthorDate: 2025-06-02 05:28:21 +0000 Commit: Simon J. Gerraty <sjg@FreeBSD.org> CommitDate: 2025-06-02 05:28:21 +0000 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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506020529.5525Tcce017208>