diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-06-08 12:49:30 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-06-08 12:49:30 +1000 |
commit | 136e56f68967fd39e8868769f3af316f1cca0559 (patch) | |
tree | f04ab513590c91265c80a849e89d75a95a48ba57 | |
parent | 5b2e2ba9e40d77d5876a96b248f9c526f8611b7c (diff) |
- djm@cvs.openbsd.org 2008/05/19 06:14:02
[packet.c] unbreak protocol keepalive timeouts bz#1465; ok dtucker@
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | packet.c | 7 |
2 files changed, 8 insertions, 4 deletions
@@ -2,6 +2,9 @@ | |||
2 | - (dtucker) [mux.c] Include paths.h inside ifdef HAVE_PATHS_H. | 2 | - (dtucker) [mux.c] Include paths.h inside ifdef HAVE_PATHS_H. |
3 | - (dtucker) [configure.ac defines.h sftp-client.c sftp-server.c sftp.c] | 3 | - (dtucker) [configure.ac defines.h sftp-client.c sftp-server.c sftp.c] |
4 | Do not enable statvfs extensions on platforms that do not have statvfs. | 4 | Do not enable statvfs extensions on platforms that do not have statvfs. |
5 | - (dtucker) OpenBSD CVS Sync | ||
6 | - djm@cvs.openbsd.org 2008/05/19 06:14:02 | ||
7 | [packet.c] unbreak protocol keepalive timeouts bz#1465; ok dtucker@ | ||
5 | 8 | ||
6 | 20080604 | 9 | 20080604 |
7 | - (djm) [openbsd-compat/bsd-arc4random.c] Fix math bug that caused bias | 10 | - (djm) [openbsd-compat/bsd-arc4random.c] Fix math bug that caused bias |
@@ -4033,4 +4036,4 @@ | |||
4033 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 4036 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
4034 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 4037 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
4035 | 4038 | ||
4036 | $Id: ChangeLog,v 1.4938 2008/06/07 23:25:28 dtucker Exp $ | 4039 | $Id: ChangeLog,v 1.4939 2008/06/08 02:49:30 dtucker Exp $ |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: packet.c,v 1.152 2008/05/08 06:59:01 markus Exp $ */ | 1 | /* $OpenBSD: packet.c,v 1.153 2008/05/19 06:14:02 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1194,9 +1194,10 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p) | |||
1194 | for (;;) { | 1194 | for (;;) { |
1195 | if (compat20) { | 1195 | if (compat20) { |
1196 | type = packet_read_poll2(seqnr_p); | 1196 | type = packet_read_poll2(seqnr_p); |
1197 | keep_alive_timeouts = 0; | 1197 | if (type) { |
1198 | if (type) | 1198 | keep_alive_timeouts = 0; |
1199 | DBG(debug("received packet type %d", type)); | 1199 | DBG(debug("received packet type %d", type)); |
1200 | } | ||
1200 | switch (type) { | 1201 | switch (type) { |
1201 | case SSH2_MSG_IGNORE: | 1202 | case SSH2_MSG_IGNORE: |
1202 | debug3("Received SSH2_MSG_IGNORE"); | 1203 | debug3("Received SSH2_MSG_IGNORE"); |