summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-01-19 20:20:20 +0000
committerDamien Miller <djm@mindrot.org>2015-01-20 09:19:40 +1100
commit48b3b2ba75181f11fca7f327058a591f4426cade (patch)
tree29e083d85f8a0ee2b10ea7c087dc23ce95f29dc2 /sshd.c
parent57d10cbe861a235dd269c74fb2fe248469ecee9d (diff)
upstream commit
store compat flags in struct ssh; ok djm@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index 21d8dd699..3b6c10a83 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshd.c,v 1.435 2015/01/19 20:16:15 markus Exp $ */ 1/* $OpenBSD: sshd.c,v 1.436 2015/01/19 20:20:20 markus 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
@@ -485,7 +485,7 @@ sshd_exchange_identification(int sock_in, int sock_out)
485 debug("Client protocol version %d.%d; client software version %.100s", 485 debug("Client protocol version %d.%d; client software version %.100s",
486 remote_major, remote_minor, remote_version); 486 remote_major, remote_minor, remote_version);
487 487
488 compat_datafellows(remote_version); 488 active_state->compat = compat_datafellows(remote_version);
489 489
490 if ((datafellows & SSH_BUG_PROBE) != 0) { 490 if ((datafellows & SSH_BUG_PROBE) != 0) {
491 logit("probed from %s with %s. Don't panic.", 491 logit("probed from %s with %s. Don't panic.",