diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-02-29 20:37:06 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-02-29 20:37:06 +1100 |
commit | 68b184c75d771f6a878e09e1fafc66e293e8ba27 (patch) | |
tree | 49ecae2315959629b71191065d27a2460f6c2db0 /regress | |
parent | 437a5f035b2e5c8fb4d15add5a90721f7e5918b4 (diff) |
- dtucker@cvs.openbsd.org 2004/02/28 12:16:57
[regress/dynamic-forward.sh]
Make dynamic-forward understand nc's new output. ok markus@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/dynamic-forward.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/dynamic-forward.sh b/regress/dynamic-forward.sh index 2b0b825d0..3a6e5c1ef 100644 --- a/regress/dynamic-forward.sh +++ b/regress/dynamic-forward.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: dynamic-forward.sh,v 1.2 2003/07/03 08:21:46 markus Exp $ | 1 | # $OpenBSD: dynamic-forward.sh,v 1.3 2004/02/28 12:16:57 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="dynamic forwarding" | 4 | tid="dynamic forwarding" |
@@ -7,7 +7,7 @@ PORT=4242 | |||
7 | FWDPORT=4243 | 7 | FWDPORT=4243 |
8 | DATA=/bin/ls${EXEEXT} | 8 | DATA=/bin/ls${EXEEXT} |
9 | 9 | ||
10 | if have_prog nc && nc -h 2>&1 | grep "x proxy address" >/dev/null; then | 10 | if have_prog nc && nc -h 2>&1 | grep "proxy address" >/dev/null; then |
11 | proxycmd="nc -x 127.0.0.1:$FWDPORT -X" | 11 | proxycmd="nc -x 127.0.0.1:$FWDPORT -X" |
12 | elif have_prog connect; then | 12 | elif have_prog connect; then |
13 | proxycmd="connect -S 127.0.0.1:$FWDPORT -" | 13 | proxycmd="connect -S 127.0.0.1:$FWDPORT -" |