Skip to content
Snippets Groups Projects
Commit 11a69ff8 authored by Jacob Stiffler's avatar Jacob Stiffler Committed by Joe Hershberger
Browse files

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: default avatarJacob Stiffler <j-stiffler@ti.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 6617f876
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
......@@ -164,7 +164,7 @@ ushort net_our_vlan = 0xFFFF;
ushort net_native_vlan = 0xFFFF;
/* Boot File name */
char net_boot_file_name[128];
char net_boot_file_name[1024];
/* The actual transferred size of the bootfile (in bytes) */
u32 net_boot_file_size;
/* Boot file size in blocks as reported by the DHCP server */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment