aboutsummaryrefslogtreecommitdiff
path: root/networking/telnetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r--networking/telnetd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 778156c..f7fe1db 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -2,6 +2,7 @@
/*
* Simple telnet server
* Bjorn Wesen, Axis Communications AB (bjornw@axis.com)
+ * Copyright (c) 2014 RIPE NCC <atlas@ripe.net>
*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*
@@ -102,8 +103,8 @@ struct tsession {
};
/* Two buffers are directly after tsession in malloced memory.
- * Make whole thing fit in 4k */
-enum { BUFSIZE = (4 * 1024 - sizeof(struct tsession)) / 2 };
+ * Make whole thing fit in 8k */
+enum { BUFSIZE = (8 * 1024 - sizeof(struct tsession)) / 2 };
#ifdef ATLAS
static int equal_sessionid(char *passwd);