summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-11 23:10:09 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-11 23:10:09 +0000
commit9fce9f02e816e8095e93e0c0d0459d8e59af69f5 (patch)
tree95729604c1fe28c81d230a77283db95f9fad9101 /sshd.c
parent6fa9d10ed579c29688e39cfa8d635fe8b511cb80 (diff)
- lebel@cvs.openbsd.org 2001/04/11 16:25:30
[sshd.8 sshd.c] 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 'sshd.c')
-rw-r--r--sshd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index 725961153..bde1ac344 100644
--- a/sshd.c
+++ b/sshd.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: sshd.c,v 1.191 2001/04/05 10:42:57 markus Exp $"); 43RCSID("$OpenBSD: sshd.c,v 1.192 2001/04/11 16:25:30 lebel Exp $");
44 44
45#include <openssl/dh.h> 45#include <openssl/dh.h>
46#include <openssl/bn.h> 46#include <openssl/bn.h>
@@ -565,7 +565,7 @@ main(int ac, char **av)
565 initialize_server_options(&options); 565 initialize_server_options(&options);
566 566
567 /* Parse command-line arguments. */ 567 /* Parse command-line arguments. */
568 while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:dDiqQ46")) != -1) { 568 while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:dDeiqQ46")) != -1) {
569 switch (opt) { 569 switch (opt) {
570 case '4': 570 case '4':
571 IPv4or6 = AF_INET; 571 IPv4or6 = AF_INET;
@@ -590,6 +590,9 @@ main(int ac, char **av)
590 case 'D': 590 case 'D':
591 no_daemon_flag = 1; 591 no_daemon_flag = 1;
592 break; 592 break;
593 case 'e':
594 log_stderr = 1;
595 break;
593 case 'i': 596 case 'i':
594 inetd_flag = 1; 597 inetd_flag = 1;
595 break; 598 break;