summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2004-02-28 12:16:57 +0000
committerdtucker <dtucker@openbsd.org>2004-02-28 12:16:57 +0000
commit951ec3ec5ce75a9b91d8afa59d85207849d888b2 (patch)
treef6fc21cb302d639f379fa43fb0d47b5555273161
parent- Don't permit 0-padded unit numbers on cloned interfaces. Bug repoprt (diff)
downloadwireguard-openbsd-951ec3ec5ce75a9b91d8afa59d85207849d888b2.tar.xz
wireguard-openbsd-951ec3ec5ce75a9b91d8afa59d85207849d888b2.zip
Make dynamic-forward understand nc's new output. ok markus@
-rw-r--r--regress/usr.bin/ssh/dynamic-forward.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/dynamic-forward.sh b/regress/usr.bin/ssh/dynamic-forward.sh
index d090814c548..6a485ec6fdf 100644
--- a/regress/usr.bin/ssh/dynamic-forward.sh
+++ b/regress/usr.bin/ssh/dynamic-forward.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: dynamic-forward.sh,v 1.2 2003/07/03 08:21:46 markus Exp $
+# $OpenBSD: dynamic-forward.sh,v 1.3 2004/02/28 12:16:57 dtucker Exp $
# Placed in the Public Domain.
tid="dynamic forwarding"
@@ -6,9 +6,9 @@ tid="dynamic forwarding"
PORT=4242
FWDPORT=4243
-if [ -x `which nc` ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then
+if [ -x "`which nc`" ] && nc -h 2>&1 | grep "proxy address" >/dev/null; then
proxycmd="nc -x 127.0.0.1:$FWDPORT -X"
-elif [ -x `which connect` ]; then
+elif [ -x "`which connect`" ]; then
proxycmd="connect -S 127.0.0.1:$FWDPORT -"
else
echo "skipped (no suitable ProxyCommand found)"