summaryrefslogtreecommitdiffstats
path: root/clientloop.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-06-21 18:12:20 +1000
committerDarren Tucker <dtucker@zip.com.au>2009-06-21 18:12:20 +1000
commitf7288d77e4e705cbbc12c2ad55ed50f9de9a87e2 (patch)
tree77f63923d1bc97e2aeda861699e1d2d00d645eda /clientloop.c
parent51dbe503bf92ee38f003ffde4bb0a0d85c438ea7 (diff)
- andreas@cvs.openbsd.org 2009/05/27 06:31:25
[canohost.h canohost.c] Add clear_cached_addr(), needed for upcoming changes allowing the peer address to change. ok markus@
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clientloop.c b/clientloop.c
index a2d2d1d0..2cb8c3a4 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.209 2009/02/12 03:00:56 djm Exp $ */
+/* $OpenBSD: clientloop.c,v 1.210 2009/05/25 06:48:01 andreas Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -491,13 +491,13 @@ client_global_request_reply(int type, u_int32_t seq, void *ctxt)
xfree(gc);
}
- keep_alive_timeouts = 0;
+ packet_set_alive_timeouts(0);
}
static void
server_alive_check(void)
{
- if (++keep_alive_timeouts > options.server_alive_count_max) {
+ if (packet_inc_alive_timeouts() > options.server_alive_count_max) {
logit("Timeout, server not responding.");
cleanup_exit(255);
}