summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-03-04 01:14:37 +0000
committermarcel <marcel@FreeBSD.org>2014-03-04 01:14:37 +0000
commitccdeb47ad3a689733148c261070973c096386a40 (patch)
tree0214267b4f1492f6e7dc6fedc34c8481397da422 /usr.bin
parentda8783a6ce44a6f4cbb4954b436fd8b85287d431 (diff)
downloadFreeBSD-src-ccdeb47ad3a689733148c261070973c096386a40.zip
FreeBSD-src-ccdeb47ad3a689733148c261070973c096386a40.tar.gz
Increase MAXLINE to deal with longer paths.
Obtained from: Juniper Networks, Inc.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tftp/main.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud