summaryrefslogtreecommitdiffstats
path: root/libexec/telnetd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/telnetd')
-rw-r--r--libexec/telnetd/telnetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/telnetd/telnetd.c b/libexec/telnetd/telnetd.c
index 7216cf7..ac0260e 100644
--- a/libexec/telnetd/telnetd.c
+++ b/libexec/telnetd/telnetd.c
@@ -775,7 +775,7 @@ terminaltypeok(s)
}
#ifndef MAXHOSTNAMELEN
-#define MAXHOSTNAMELEN 64
+#define MAXHOSTNAMELEN 256
#endif /* MAXHOSTNAMELEN */
char *hostname;
OpenPOWER on IntegriCloud