Commit 7423201a authored by Niels Möller's avatar Niels Möller
Browse files

(spawn_lshd): Use 127.0.0.1 instead

of localhost.

Rev: src/testsuite/functions.sh:1.14
parent 75223073
......@@ -24,6 +24,8 @@ if [ -z "$PIDFILE" ] ; then
PIDFILE=`pwd`/lshd.$$.pid
fi
INTERFACE=127.0.0.1
# if [ -z "$USERKEY" ] ; then
# USERKEY=$srcdir/key-1.private
# fi
......@@ -63,7 +65,7 @@ spawn_lshd () {
# Note that --daemon not only forks into the background, it also changes
# the cwd, uses syslog, etc.
../lshd -h $HOSTKEY --interface=localhost \
../lshd -h $HOSTKEY --interface=$INTERFACE \
-p $PORT $LSHD_FLAGS --pid-file $PIDFILE --daemon "$@"
# lshd may catch the ordinary TERM signal, leading to timing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment