Compare commits
2 commits
0181766269
...
8038a46176
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8038a46176 | ||
![]() |
dca9f7eebe |
2 changed files with 1 additions and 2 deletions
|
@ -259,7 +259,6 @@ def is_deadpoint(ap_bssid):
|
||||||
|
|
||||||
# === Main ===
|
# === Main ===
|
||||||
def main():
|
def main():
|
||||||
print("[DEBUG] sys.argv:", sys.argv, flush=True)
|
|
||||||
parser = ArgumentParser()
|
parser = ArgumentParser()
|
||||||
parser.add_argument("--main-iface", required=True, help="Active interface (used to determine channel)")
|
parser.add_argument("--main-iface", required=True, help="Active interface (used to determine channel)")
|
||||||
parser.add_argument("--monitor-iface", required=True, help="Monitor interface to sniff on")
|
parser.add_argument("--monitor-iface", required=True, help="Monitor interface to sniff on")
|
||||||
|
|
|
@ -111,7 +111,7 @@ run_iperf() {
|
||||||
log "Running iperf3 $mode $direction to $target..."
|
log "Running iperf3 $mode $direction to $target..."
|
||||||
SECONDS=0
|
SECONDS=0
|
||||||
if ! timeout "${timeout_duration}s" iperf3 "${args[@]}" >"$tmp_json" 2>"$tmp_err"; then
|
if ! timeout "${timeout_duration}s" iperf3 "${args[@]}" >"$tmp_json" 2>"$tmp_err"; then
|
||||||
warn "iperf3 $mode $direction to $target failed or timed out"
|
warn "iperf3 $mode $direction to $target failed or timed out after $SECONDS"
|
||||||
echo "0"
|
echo "0"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue