diff options
author | lebel <lebel@cvs.openbsd.org> | 2001-04-11 16:25:32 +0000 |
---|---|---|
committer | lebel <lebel@cvs.openbsd.org> | 2001-04-11 16:25:32 +0000 |
commit | e03d53b22be61588c975f8a774953a5fd187cf4d (patch) | |
tree | 1c99410277417f61455ff9ce8e8428018e412270 /usr.bin/ssh/sshd.c | |
parent | 0107c4a5cf7d508671e7cdfaa03d198614e36a15 (diff) |
implement the -e option into sshd:
-e When this option is specified, sshd will send the output to the
standard error instead of the system log.
markus@ OK.
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index ed15824edba..15bdffcf377 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.191 2001/04/05 10:42:57 markus Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.192 2001/04/11 16:25:30 lebel Exp $"); #include <openssl/dh.h> #include <openssl/bn.h> @@ -552,7 +552,7 @@ main(int ac, char **av) initialize_server_options(&options); /* Parse command-line arguments. */ - while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:dDiqQ46")) != -1) { + while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:dDeiqQ46")) != -1) { switch (opt) { case '4': IPv4or6 = AF_INET; @@ -577,6 +577,9 @@ main(int ac, char **av) case 'D': no_daemon_flag = 1; break; + case 'e': + log_stderr = 1; + break; case 'i': inetd_flag = 1; break; |