From 5e6e41b3bab32f2ee258a76fda68b703e8f10cc3 Mon Sep 17 00:00:00 2001 From: Andre Kalb Date: Fri, 28 Jan 2022 09:40:32 +0100 Subject: net: bootp: Make root path (option 17) length configurable to adjust the root path length. Eg to 256 from Linux Kernel Signed-off-by: Andre Kalb Reviewed-by: Ramon Fried [trini: Guard extern so that !CONFIG_NET platforms will build] Signed-off-by: Tom Rini --- net/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/bootp.c') diff --git a/net/bootp.c b/net/bootp.c index a544bfc..b260d5d 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -59,7 +59,7 @@ ulong bootp_start; ulong bootp_timeout; char net_nis_domain[32] = {0,}; /* Our NIS domain */ char net_hostname[32] = {0,}; /* Our hostname */ -char net_root_path[64] = {0,}; /* Our bootpath */ +char net_root_path[CONFIG_BOOTP_MAX_ROOT_PATH_LEN] = {0,}; /* Our bootpath */ static ulong time_taken_max; -- cgit v1.1