From ccdeb47ad3a689733148c261070973c096386a40 Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 4 Mar 2014 01:14:37 +0000 Subject: Increase MAXLINE to deal with longer paths. Obtained from: Juniper Networks, Inc. --- usr.bin/tftp/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index c0f5088..7db7818 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$"); #include "tftp-options.h" #include "tftp.h" -#define MAXLINE 200 +#define MAXLINE (2 * MAXPATHLEN) #define TIMEOUT 5 /* secs between rexmt's */ typedef struct sockaddr_storage peeraddr; -- cgit v1.1