summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-04-07 08:29:58 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-04-07 08:29:58 +0000
commitd7d6636d1e3666c30bfbd85a71ee3fbeb1d50934 (patch)
treeb1a16779d342f60e891fa6cd720bbe7dd6efb3c1
parent6576661903b5745dc7089f4a6a117d28cc3aa0c4 (diff)
typo: get correct counters; introduced during rekeying change.
-rw-r--r--usr.bin/ssh/monitor_wrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/monitor_wrap.c b/usr.bin/ssh/monitor_wrap.c
index b2bc35e9b28..040416214c3 100644
--- a/usr.bin/ssh/monitor_wrap.c
+++ b/usr.bin/ssh/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>
@@ -572,7 +572,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);