diff options
author | 2001-02-10 01:46:28 +0000 | |
---|---|---|
committer | 2001-02-10 01:46:28 +0000 | |
commit | d820d937c424d22cbb933670e776ed8dea03ea85 (patch) | |
tree | 83e2a6117c21519c707775bf1675593fa49270bd /usr.bin/ssh/ssh.c | |
parent | add debug message, since sshd blocks here if DNS is not available (diff) | |
download | wireguard-openbsd-d820d937c424d22cbb933670e776ed8dea03ea85.tar.xz wireguard-openbsd-d820d937c424d22cbb933670e776ed8dea03ea85.zip |
remove mapping of argv[0] -> hostname
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 9f08038638c..5dd9a8bef3f 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.93 2001/02/08 19:30:52 itojun Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.94 2001/02/10 01:46:28 markus Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -275,12 +275,6 @@ main(int ac, char **av) /* Parse command-line arguments. */ host = NULL; - /* If program name is not one of the standard names, use it as host name. */ - cp = __progname; - if (strcmp(cp, "rsh") && strcmp(cp, "ssh") && strcmp(cp, "rlogin") && - strcmp(cp, "slogin") && strcmp(cp, "remsh")) - host = cp; - for (optind = 1; optind < ac; optind++) { if (av[optind][0] != '-') { if (host) |