summaryrefslogtreecommitdiffstats
path: root/monitor_wrap.c
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 /monitor_wrap.c
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.
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r--monitor_wrap.c4
1 files changed, 2 insertions, 2 deletions
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);