Tools: sim_vehicle to only launch one 1455x UDP port

This commit is contained in:
Tom Pittenger 2023-04-22 20:22:10 -07:00 committed by Andrew Tridgell
parent bb80881c10
commit 61b184781a
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ def start_mavproxy(opts, stuff):
for i in instances: for i in instances:
if not opts.no_extra_ports: if not opts.no_extra_ports:
ports = [p + 10 * i for p in [14550, 14551]] ports = [14550 + 10 * i]
for port in ports: for port in ports:
if under_vagrant(): if under_vagrant():
# We're running inside of a vagrant guest; forward our # We're running inside of a vagrant guest; forward our