diff options
author | marcel <marcel@FreeBSD.org> | 2014-03-04 01:14:37 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-03-04 01:14:37 +0000 |
commit | ccdeb47ad3a689733148c261070973c096386a40 (patch) | |
tree | 0214267b4f1492f6e7dc6fedc34c8481397da422 /usr.bin/tftp | |
parent | da8783a6ce44a6f4cbb4954b436fd8b85287d431 (diff) | |
download | FreeBSD-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/tftp')
-rw-r--r-- | usr.bin/tftp/main.c | 2 |
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; |