diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-01-09 10:03:05 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-01-09 10:03:05 +0000 |
commit | 3296ab5a25cb84e9c05bd32e3ea515a054a87f33 (patch) | |
tree | fb89aa63c036e4073673f76732aa9763686227b4 | |
parent | e0839c9dc09fd246a223b312d5bf2fe21c0f80cd (diff) |
call nc correctly (nc has changed a while ago).
ok markus@
-rw-r--r-- | sbin/isakmpd/regress/exchange/run.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/isakmpd/regress/exchange/run.sh b/sbin/isakmpd/regress/exchange/run.sh index e00898d2af8..587c2c12bf9 100644 --- a/sbin/isakmpd/regress/exchange/run.sh +++ b/sbin/isakmpd/regress/exchange/run.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: run.sh,v 1.7 2003/06/03 14:39:50 ho Exp $ +# $OpenBSD: run.sh,v 1.8 2004/01/09 10:03:04 hshoexer Exp $ # $EOM: run.sh,v 1.6 1999/08/05 15:02:33 niklas Exp $ # @@ -98,8 +98,8 @@ done # Start the exchange if [ $initiator = yes ]; then - ${NC} -nul -w${TIMEOUT} -p${DSTPORT} 127.0.0.1 </dev/null >packet & -# ${NC} -nu -w${TIMEOUT} -p${DSTPORT} 127.0.0.1 ${SRCPORT} </dev/null >packet + ${NC} -nul -w${TIMEOUT} 127.0.0.1 ${DSTPORT} </dev/null >packet & +# ${NC} -nu -w${TIMEOUT} -p${SRCPORT} 127.0.0.1 ${DSTPORT} </dev/null >packet sleep 1 echo "c udp 127.0.0.1:${DSTPORT} 2 1" >${FIFO} in_packets=`ls ${suite}-i.* 2>/dev/null` @@ -116,7 +116,7 @@ while [ \( $his_turn = yes -a X"$in_packets" != X \) \ packet=$1 shift out_packets=$* - cat $packet |${NC} -nu -w${TIMEOUT} -p${DSTPORT} 127.0.0.1 ${SRCPORT} \ + cat $packet |${NC} -nu -w${TIMEOUT} -p${SRCPORT} 127.0.0.1 ${DSTPORT} \ >packet my_turn=no else |