From 0f8d6cfc1522ee391d232f145c15c2de3d859920 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Tue, 4 Mar 2014 01:14:37 +0000 Subject: [PATCH] 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(-) diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index c0f508838d3..7db7818f7eb 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;