diff options
author | kris <kris@FreeBSD.org> | 2000-11-26 21:37:51 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-11-26 21:37:51 +0000 |
commit | 35eec2074d412e382aa410f7537032f06a046902 (patch) | |
tree | ad8bde1eb200164719976a07881dfe0f1c0df5a6 | |
parent | f568f6a3a3aeaa557f82e093a14e32eb1a7b47c7 (diff) | |
download | FreeBSD-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
-rw-r--r-- | contrib/telnet/telnet/commands.c | 2 | ||||
-rw-r--r-- | contrib/telnet/telnetd/telnetd.c | 2 | ||||
-rw-r--r-- | crypto/telnet/telnet/commands.c | 2 | ||||
-rw-r--r-- | crypto/telnet/telnetd/telnetd.c | 2 | ||||
-rw-r--r-- | libexec/telnetd/telnetd.c | 2 | ||||
-rw-r--r-- | usr.bin/telnet/commands.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/contrib/telnet/telnet/commands.c b/contrib/telnet/telnet/commands.c index 2c7beca..4a360df 100644 --- a/contrib/telnet/telnet/commands.c +++ b/contrib/telnet/telnet/commands.c @@ -89,7 +89,7 @@ static const char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95"; #ifndef MAXHOSTNAMELEN -#define MAXHOSTNAMELEN 64 +#define MAXHOSTNAMELEN 256 #endif MAXHOSTNAMELEN #if defined(IPPROTO_IP) && defined(IP_TOS) diff --git a/contrib/telnet/telnetd/telnetd.c b/contrib/telnet/telnetd/telnetd.c index 6d7bcde..a5a7a03 100644 --- a/contrib/telnet/telnetd/telnetd.c +++ b/contrib/telnet/telnetd/telnetd.c @@ -823,7 +823,7 @@ terminaltypeok(s) } #ifndef MAXHOSTNAMELEN -#define MAXHOSTNAMELEN 64 +#define MAXHOSTNAMELEN 256 #endif /* MAXHOSTNAMELEN */ char *hostname; diff --git a/crypto/telnet/telnet/commands.c b/crypto/telnet/telnet/commands.c index 2c7beca..4a360df 100644 --- a/crypto/telnet/telnet/commands.c +++ b/crypto/telnet/telnet/commands.c @@ -89,7 +89,7 @@ static const char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95"; #ifndef MAXHOSTNAMELEN -#define MAXHOSTNAMELEN 64 +#define MAXHOSTNAMELEN 256 #endif MAXHOSTNAMELEN #if defined(IPPROTO_IP) && defined(IP_TOS) diff --git a/crypto/telnet/telnetd/telnetd.c b/crypto/telnet/telnetd/telnetd.c index 6d7bcde..a5a7a03 100644 --- a/crypto/telnet/telnetd/telnetd.c +++ b/crypto/telnet/telnetd/telnetd.c @@ -823,7 +823,7 @@ terminaltypeok(s) } #ifndef MAXHOSTNAMELEN -#define MAXHOSTNAMELEN 64 +#define MAXHOSTNAMELEN 256 #endif /* MAXHOSTNAMELEN */ char *hostname; 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; 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) |