diff options
author | 2009-05-25 06:48:00 +0000 | |
---|---|---|
committer | 2009-05-25 06:48:00 +0000 | |
commit | bd3c504508ac4b88604ece841a0e247693eda854 (patch) | |
tree | d3981b3bac1d444afede78836bed2eafcdb9d0d0 /usr.bin/ssh/clientloop.c | |
parent | Add Dell Latitude E5500 to the mute quirk list. (diff) | |
download | wireguard-openbsd-bd3c504508ac4b88604ece841a0e247693eda854.tar.xz wireguard-openbsd-bd3c504508ac4b88604ece841a0e247693eda854.zip |
Put the globals in packet.c into a struct and don't access it directly
from other files. No functional changes.
ok markus@ djm@
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 23b2dea58bb..8a59902a1ac 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/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 @@ -483,13 +483,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); } |