bench: --wan runs only WAN, not also Unlimited
This commit is contained in:
@@ -359,12 +359,17 @@ def main():
|
|||||||
os.makedirs(args.dest_dir, exist_ok=True)
|
os.makedirs(args.dest_dir, exist_ok=True)
|
||||||
|
|
||||||
profiles_to_run = []
|
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:
|
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:
|
try:
|
||||||
all_results = []
|
all_results = []
|
||||||
|
|||||||
Reference in New Issue
Block a user