Skip to content

Commit

Permalink
Update iperf3.py
Browse files Browse the repository at this point in the history
  • Loading branch information
phate999 authored Nov 1, 2024
1 parent 4596e8d commit bc02146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iperf3/iperf3.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def main(path, value, *args):

def download_iperf3():
try:
# Use the first argument as the URL if provided, otherwise use the default URL
url = sys.argv[1] if len(sys.argv) > 1 else "https://github.com/userdocs/iperf3-static/releases/download/3.17.1%2B/iperf3-arm64v8"
# iperf3 binary URL
url = "https://github.com/userdocs/iperf3-static/releases/download/3.17.1%2B/iperf3-arm64v8"

# If file doesn't exist, download it
filename = url.split("/")[-1]
Expand Down

0 comments on commit bc02146

Please sign in to comment.