Bugzilla – Attachment 164 Details for
Bug 414
sshd initially ignores -e (log_stderr) if -i (inetd_flag) is given
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
X (text/plain), 1.04 KB, created by
Markus Friedl
on 2002-11-06 07:01:48 AEDT
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Markus Friedl
Created:
2002-11-06 07:01:48 AEDT
Size:
1.04 KB
patch
obsolete
>Index: sshd.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/sshd.c,v >retrieving revision 1.260 >diff -u -r1.260 sshd.c >--- sshd.c 27 Sep 2002 10:42:09 -0000 1.260 >+++ sshd.c 5 Nov 2002 20:02:57 -0000 >@@ -915,12 +915,14 @@ > * Force logging to stderr until we have loaded the private host > * key (unless started from inetd) > */ >+ if (debug_flag && !inetd_flag) >+ log_stderr = 1; > log_init(__progname, > options.log_level == SYSLOG_LEVEL_NOT_SET ? > SYSLOG_LEVEL_INFO : options.log_level, > options.log_facility == SYSLOG_FACILITY_NOT_SET ? > SYSLOG_FACILITY_AUTH : options.log_facility, >- !inetd_flag); >+ log_stderr); > > /* Read server configuration options from the configuration file. */ > read_server_config(&options, config_file_name); >@@ -1027,8 +1029,6 @@ > exit(0); > > /* Initialize the log (it is reinitialized below in case we forked). */ >- if (debug_flag && !inetd_flag) >- log_stderr = 1; > log_init(__progname, options.log_level, options.log_facility, log_stderr); > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 414
: 164