summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-04-09 12:51:24 +0200
committerDamien Miller <djm@mindrot.org>2003-04-09 12:51:24 +0200
commitb1ecd9cd9761e021c912375149c28084bace43ef (patch)
treedf36d31c83cf2931de5600d9dd8c134cbc234ce3
parent - itojun@cvs.openbsd.org 2003/04/03 07:25:27 (diff)
downloadopenssh-b1ecd9cd9761e021c912375149c28084bace43ef.tar.xz
openssh-b1ecd9cd9761e021c912375149c28084bace43ef.zip
- markus@cvs.openbsd.org 2003/04/07 08:29:57
[monitor_wrap.c] typo: get correct counters; introduced during rekeying change.
-rw-r--r--ChangeLog5
-rw-r--r--monitor_wrap.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 942d7a313..5d94ea480 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,9 @@
- itojun@cvs.openbsd.org 2003/04/03 10:17:35
[progressmeter.c]
remove $OpenBSD$, as other *.c does not have it.
+ - markus@cvs.openbsd.org 2003/04/07 08:29:57
+ [monitor_wrap.c]
+ typo: get correct counters; introduced during rekeying change.
20030402
- (bal) if IP_TOS is not found or broken don't try to compile in
@@ -1318,4 +1321,4 @@
save auth method before monitor_reset_key_state(); bugzilla bug #284;
ok provos@
-$Id: ChangeLog,v 1.2654 2003/04/09 10:50:59 djm Exp $
+$Id: ChangeLog,v 1.2655 2003/04/09 10:51:24 djm Exp $
diff --git a/monitor_wrap.c b/monitor_wrap.c
index f674ef78d..183ae8d0e 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -25,7 +25,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: monitor_wrap.c,v 1.25 2003/04/02 09:48:07 markus Exp $");
+RCSID("$OpenBSD: monitor_wrap.c,v 1.26 2003/04/07 08:29:57 markus Exp $");
#include <openssl/bn.h>
#include <openssl/dh.h>
@@ -574,7 +574,7 @@ mm_send_keystate(struct monitor *pmonitor)
buffer_put_int(&m, seqnr);
buffer_put_int64(&m, blocks);
buffer_put_int(&m, packets);
- packet_get_state(MODE_OUT, &seqnr, &blocks, &packets);
+ packet_get_state(MODE_IN, &seqnr, &blocks, &packets);
buffer_put_int(&m, seqnr);
buffer_put_int64(&m, blocks);
buffer_put_int(&m, packets);