summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-11-26 21:37:51 +0000
committerkris <kris@FreeBSD.org>2000-11-26 21:37:51 +0000
commit35eec2074d412e382aa410f7537032f06a046902 (patch)
treead8bde1eb200164719976a07881dfe0f1c0df5a6 /usr.bin/telnet
parentf568f6a3a3aeaa557f82e093a14e32eb1a7b47c7 (diff)
downloadFreeBSD-src-35eec2074d412e382aa410f7537032f06a046902.zip
FreeBSD-src-35eec2074d412e382aa410f7537032f06a046902.tar.gz
Correct definition of MAXHOSTNAMELEN in ifdef'ed code.
Submitted by: Edwin Groothuis <mavetju@chello.nl> PR: bin/22787
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r--usr.bin/telnet/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c
index c6b35e2..5079dc1 100644
--- a/usr.bin/telnet/commands.c
+++ b/usr.bin/telnet/commands.c
@@ -81,7 +81,7 @@ static char sccsid[] = "@(#)commands.c 8.2 (Berkeley) 12/15/93";
#include <netinet/ip6.h>
#ifndef MAXHOSTNAMELEN
-#define MAXHOSTNAMELEN 64
+#define MAXHOSTNAMELEN 256
#endif MAXHOSTNAMELEN
#if defined(IPPROTO_IP) && defined(IP_TOS)
OpenPOWER on IntegriCloud