From 11a69ff85b0a459f4ac096ae054d0b527d44b095 Mon Sep 17 00:00:00 2001 From: Jacob Stiffler Date: Wed, 30 Sep 2015 10:12:05 -0400 Subject: net: Increase the size of the net_boot_file_name buffer The net_boot_file_name buffer is used as storage for the bootfilename command line argument to network boot commands such as tftp and nfs. Increase the size of this buffer to 1024 bytes as the current size of 128 bytes is restrictive for arbitrary paths on the server. Signed-off-by: Jacob Stiffler Acked-by: Joe Hershberger --- include/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/net.h') diff --git a/include/net.h b/include/net.h index 1aabd7438b..ebed29ad57 100644 --- a/include/net.h +++ b/include/net.h @@ -516,7 +516,7 @@ enum proto_t { TFTPSRV, TFTPPUT, LINKLOCAL }; -extern char net_boot_file_name[128];/* Boot File name */ +extern char net_boot_file_name[1024];/* Boot File name */ /* The actual transferred size of the bootfile (in bytes) */ extern u32 net_boot_file_size; /* Boot file size in blocks as reported by the DHCP server */ -- cgit v1.2.1