Skip to content
Snippets Groups Projects
Commit 88c39eec authored by Bob Mottram's avatar Bob Mottram
Browse files

Use peer hostname

parent 7204b396
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ while IFS='' read -r line || [[ -n "$line" ]]; do
if [ ${state} -eq "2" ]; then
if [[ $line == *"address ="* ]]; then
address=$(echo $line | awk -F '[' '{print $2}' | awk -F ']' '{print $1}')
echo "udp $address $TRACKER_PORT" >> $BOOTSTRAP_FILE.new
echo "udp $peer $TRACKER_PORT" >> $BOOTSTRAP_FILE.new
state=0
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment