diff --git a/Linux/iPerf/speedtest.sh b/Linux/iPerf/speedtest.sh index 8fd40e1..fd51743 100755 --- a/Linux/iPerf/speedtest.sh +++ b/Linux/iPerf/speedtest.sh @@ -64,7 +64,7 @@ if [ "$log" -eq 1 ]; then echo "Log Variable is set to 1. Writing to log." # Append the result to the log file - echo "$(date +"%Y-%m-%d %H:%M:%S"),$ORG,$IP,$DOWNLOAD_Mbps Mbps,$UPLOAD_Mbps Mbps" >> "$LOG_FILE" + echo "$(date +"%Y-%m-%d %H:%M:%S"),$IPERF3_SERVER_IP,$ORG,$IP,$DOWNLOAD_Mbps Mbps,$UPLOAD_Mbps Mbps" >> "$LOG_FILE" # Check if the variable is set to 0 elif [ "$log" -eq 0 ]; then @@ -91,6 +91,10 @@ if [ "$discord" -eq 1 ]; then "name": "Time:", "value": "$(date +'%Y-%m-%d %H:%M:%S')" }, + { + "name": "Iperf3 Server Used:", + "value": "$IPERF3_SERVER_IP" + }, { "name": "ISP:", "value": "$ORG"