diff options
author | 1996-01-05 16:41:21 +0000 | |
---|---|---|
committer | 1996-01-05 16:41:21 +0000 | |
commit | 8c6039457728556a62e7891719d15d817811cf48 (patch) | |
tree | d2e2dfaa4bc697880536578bead2117a6170146e | |
parent | from netbsd; make get_myaddress() return failure if it is unable to (diff) | |
download | wireguard-openbsd-8c6039457728556a62e7891719d15d817811cf48.tar.xz wireguard-openbsd-8c6039457728556a62e7891719d15d817811cf48.zip |
from tls; contrary to unpopular opinion, "help" is a perfectly valid hostname
-rw-r--r-- | usr.bin/telnet/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c index e78202b597a..b175176cd96 100644 --- a/usr.bin/telnet/commands.c +++ b/usr.bin/telnet/commands.c @@ -33,7 +33,7 @@ #ifndef lint /* from: static char sccsid[] = "@(#)commands.c 8.1 (Berkeley) 6/6/93"; */ -static char *rcsid = "$Id: commands.c,v 1.1.1.1 1995/10/18 08:46:14 deraadt Exp $"; +static char *rcsid = "$Id: commands.c,v 1.2 1996/01/05 16:41:21 deraadt Exp $"; #endif /* not lint */ #if defined(unix) @@ -2099,7 +2099,7 @@ tn(argc, argv) cmd = *argv; --argc; ++argv; while (argc) { - if (isprefix(*argv, "help") || isprefix(*argv, "?")) + if (isprefix(*argv, "?")) goto usage; if (strcmp(*argv, "-l") == 0) { --argc; ++argv; |