bench: --wan runs only WAN, not also Unlimited

This commit is contained in:
2026-07-05 16:48:45 +02:00
parent 39faff1c4c
commit a90e510424
+10 -5
View File
@@ -359,12 +359,17 @@ def main():
os.makedirs(args.dest_dir, exist_ok=True)
profiles_to_run = []
if not args.no_unlimited:
profiles_to_run.append("Unlimited")
if not args.no_lan:
profiles_to_run.append("LAN")
if args.wan:
profiles_to_run.append("WAN")
if not args.no_unlimited:
profiles_to_run.append("WAN")
else:
print("--wan and --no-unlimited are mutually exclusive")
sys.exit(1)
else:
if not args.no_unlimited:
profiles_to_run.append("Unlimited")
if not args.no_lan:
profiles_to_run.append("LAN")
try:
all_results = []