Commit e0e4596c authored by Mike Hibler's avatar Mike Hibler

Make sure MAGENT_NORECV has a value

parent f9d431a0
......@@ -20,7 +20,7 @@ TARGETS=$MAGENT
#
# Start up our own measurement agent
#
if [ $MAGENT_NORECV -ne 0 ]; then
if [ ${MAGENT_NORECV:-0} -ne 0 ]; then
port=`echo $ARGS | sed -e 's/.*--peerserverport=\([0-9][0-9]*\).*/\1/'`
ARGS=`echo $ARGS | sed -e "s/--peerserverport=$port/--peerserverport=0/"`
echo "${IPERFD_DIR}/$IPERFD -p $port"
......
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