diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-06-07 03:48:15 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-06-08 05:11:11 +0200 |
commit | 1de5e47a85850526a4fdaf77185134046c050f75 (patch) | |
tree | 703f4c45786032846efe7a50f3b85aa07f6f4242 /regress/proto-version.sh | |
parent | upstream commit (diff) | |
download | openssh-1de5e47a85850526a4fdaf77185134046c050f75.tar.xz openssh-1de5e47a85850526a4fdaf77185134046c050f75.zip |
upstream commit
unbreak after sshv1 purge
Upstream-Regress-ID: 8ea01a92d5f571b9fba88c1463a4254a7552d51b
Diffstat (limited to 'regress/proto-version.sh')
-rw-r--r-- | regress/proto-version.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/proto-version.sh b/regress/proto-version.sh index 5faeb758c..1f33b1f00 100644 --- a/regress/proto-version.sh +++ b/regress/proto-version.sh @@ -1,4 +1,4 @@ -# $OpenBSD: proto-version.sh,v 1.6 2017/04/30 23:34:55 djm Exp $ +# $OpenBSD: proto-version.sh,v 1.7 2017/06/07 01:48:15 djm Exp $ # Placed in the Public Domain. tid="sshd version with different protocol combinations" @@ -6,7 +6,7 @@ tid="sshd version with different protocol combinations" # we just start sshd in inetd mode and check the banner check_version () { - expect=$2 + expect=$1 banner=`printf '' | ${SSHD} -i -f ${OBJ}/sshd_proxy` case ${banner} in SSH-1.99-*) |