Use peer hostname
This commit is contained in:
parent
7204b396d7
commit
88c39eecb9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue