summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--serverloop.c9
2 files changed, 11 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index d1625d2fc..12209e1fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,11 @@
120010718 120010718
2 - OpenBSD CVS Sync 2 - OpenBSD CVS Sync
3 - stevesk@cvs.openbsd.org 2001/07/14 15:10:17 3 - stevesk@cvs.openbsd.org 2001/07/14 15:10:17
4 [readpass.c sftp-client.c sftp-common.c sftp-glob.c] 4 [readpass.c sftp-client.c sftp-common.c sftp-glob.c]
5 delete spurious #includes; ok deraadt@ markus@ 5 delete spurious #includes; ok deraadt@ markus@
6 - markus@cvs.openbsd.org 2001/07/15 16:17:08
7 [serverloop.c]
8 schedule client alive for ssh2 only, greg@cheers.bungi.com
6 9
720010715 1020010715
8 - (bal) Set "BROKEN_GETADDRINFO" for darwin platform. Reported by 11 - (bal) Set "BROKEN_GETADDRINFO" for darwin platform. Reported by
@@ -6042,4 +6045,4 @@
6042 - Wrote replacements for strlcpy and mkdtemp 6045 - Wrote replacements for strlcpy and mkdtemp
6043 - Released 1.0pre1 6046 - Released 1.0pre1
6044 6047
6045$Id: ChangeLog,v 1.1404 2001/07/18 15:45:44 mouring Exp $ 6048$Id: ChangeLog,v 1.1405 2001/07/18 15:48:57 mouring Exp $
diff --git a/serverloop.c b/serverloop.c
index 1db1c725a..f826c6cb2 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: serverloop.c,v 1.74 2001/07/02 22:52:57 markus Exp $"); 38RCSID("$OpenBSD: serverloop.c,v 1.75 2001/07/15 16:17:08 markus Exp $");
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41#include "packet.h" 41#include "packet.h"
@@ -183,11 +183,11 @@ wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp,
183 * this could be randomized somewhat to make traffic 183 * this could be randomized somewhat to make traffic
184 * analysis more difficult, but we're not doing it yet. 184 * analysis more difficult, but we're not doing it yet.
185 */ 185 */
186 if (max_time_milliseconds == 0 && options.client_alive_interval) { 186 if (compat20 &&
187 max_time_milliseconds == 0 && options.client_alive_interval) {
187 client_alive_scheduled = 1; 188 client_alive_scheduled = 1;
188 max_time_milliseconds = options.client_alive_interval * 1000; 189 max_time_milliseconds = options.client_alive_interval * 1000;
189 } else 190 }
190 client_alive_scheduled = 0;
191 191
192 /* When select fails we restart from here. */ 192 /* When select fails we restart from here. */
193retry_select: 193retry_select:
@@ -1000,4 +1000,3 @@ server_init_dispatch(void)
1000 else 1000 else
1001 server_init_dispatch_15(); 1001 server_init_dispatch_15();
1002} 1002}
1003