Browse Source

Use peer hostname

Bob Mottram 9 years ago
parent
commit
88c39eecb9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/zeronetavahi

+ 1
- 1
src/zeronetavahi View File

@@ -56,7 +56,7 @@ while IFS='' read -r line || [[ -n "$line" ]]; do
56 56
     if [ ${state} -eq "2" ]; then
57 57
         if [[ $line == *"address ="* ]]; then
58 58
             address=$(echo $line | awk -F '[' '{print $2}' | awk -F ']' '{print $1}')
59
-            echo "udp $address $TRACKER_PORT" >> $BOOTSTRAP_FILE.new
59
+            echo "udp $peer $TRACKER_PORT" >> $BOOTSTRAP_FILE.new
60 60
             state=0
61 61
         fi
62 62
     fi