summaryrefslogtreecommitdiff
path: root/boot/pxe_utils.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-05-06 10:34:34 -0400
committerTom Rini <trini@konsulko.com>2023-05-06 10:34:34 -0400
commitae0772f333a7e76c4fb3771a77117b2f740d7c93 (patch)
tree89fd938073db85162aab26a9096447d7a311b957 /boot/pxe_utils.c
parentab75996ba49c140c529f14b5c40d0d16430feefb (diff)
parent1a3af267c097c330fb2bf12493186a345523df38 (diff)
Merge branch '2023-05-05-networking-updates'
- Cleanup NFS support, add NFSv1 support, assorted IPv6 improvements, PHY cleanups and improvements, ksz9477, ldpaa and rtl8169 improvements, overall network performance improvements.
Diffstat (limited to 'boot/pxe_utils.c')
-rw-r--r--boot/pxe_utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c
index 3a1e50f2b1b..d13c47dd942 100644
--- a/boot/pxe_utils.c
+++ b/boot/pxe_utils.c
@@ -1578,7 +1578,7 @@ void handle_pxe_menu(struct pxe_context *ctx, struct pxe_menu *cfg)
int pxe_setup_ctx(struct pxe_context *ctx, struct cmd_tbl *cmdtp,
pxe_getfile_func getfile, void *userdata,
- bool allow_abs_path, const char *bootfile)
+ bool allow_abs_path, const char *bootfile, bool use_ipv6)
{
const char *last_slash;
size_t path_len = 0;
@@ -1588,6 +1588,7 @@ int pxe_setup_ctx(struct pxe_context *ctx, struct cmd_tbl *cmdtp,
ctx->getfile = getfile;
ctx->userdata = userdata;
ctx->allow_abs_path = allow_abs_path;
+ ctx->use_ipv6 = use_ipv6;
/* figure out the boot directory, if there is one */
if (bootfile && strlen(bootfile) >= MAX_TFTP_PATH_LEN)